mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-29 04:18:59 -05:00
Move electron sandbox priv change
This commit is contained in:
5
.devcontainer/cache/restore-diff.sh
vendored
5
.devcontainer/cache/restore-diff.sh
vendored
@@ -22,3 +22,8 @@ echo "+1000 +$(id -g)" > "${CACHE_FOLDER}/cache-group-map"
|
||||
tar --owner-map="${CACHE_FOLDER}/cache-owner-map" --group-map="${CACHE_FOLDER}/cache-group-map" -xpsf "${CACHE_FOLDER}/cache.tar"
|
||||
rm -rf "${CACHE_FOLDER}"
|
||||
echo "[$(date)] Done!"
|
||||
|
||||
# Change ownership of chrome-sandbox
|
||||
sudo chown root .build/electron/chrome-sandbox
|
||||
sudo chmod 4755 .build/electron/chrome-sandbox
|
||||
|
||||
|
||||
@@ -7,6 +7,3 @@
|
||||
|
||||
yarn install
|
||||
yarn electron
|
||||
|
||||
sudo chown root .build/electron/chrome-sandbox
|
||||
sudo chmod 4755 .build/electron/chrome-sandbox
|
||||
|
||||
Reference in New Issue
Block a user