Skip to content

Commit

Permalink
Move electron sandbox priv change
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuxel committed Mar 17, 2022
1 parent eef0ee4 commit f32689c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions .devcontainer/cache/restore-diff.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

3 changes: 0 additions & 3 deletions .devcontainer/prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@

yarn install
yarn electron

sudo chown root .build/electron/chrome-sandbox
sudo chmod 4755 .build/electron/chrome-sandbox

0 comments on commit f32689c

Please sign in to comment.