Improve caching

This commit is contained in:
Chuck
2022-03-16 18:07:02 +00:00
parent da52702687
commit dea80fe6f1
8 changed files with 37 additions and 32 deletions

View File

@@ -5,9 +5,13 @@
# running commands like "yarn install" from the ground up. Developers (and should) still run these commands
# after the actual dev container is created, but only differences will be processed.
# Fix permissions for chrome sandboxing
mkdir -p .build/electron/chrome-sandbox
chmod 4755 .build/electron/chrome-sandbox
chown root .build/electron/chrome-sandbox
yarn install
yarn electron
cd "$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)/.."
sudo chown root .build/electron/chrome-sandbox
sudo chmod 4755 .build/electron/chrome-sandbox
# Improve command line lag by disabling git portion of theme
git config --global codespaces-theme.hide-status 1