Mac VSCode 更新失败

Could not create temporary directory: 权限被拒绝

解决方式

sudo chown $USER ~/Library/Caches/com.microsoft.VSCode.ShipIt/

重启之后,再更新