Created
July 16, 2024 21:54
-
-
Save BuddhiLW/bd99b5534a6475ef9774c1279083c3ac to your computer and use it in GitHub Desktop.
Install electron and permission to run sandbox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/bash | |
sudo npm install -g electron | |
sudo chown root:root /usr/local/lib/node_modules/electron/dist/chrome-sandbox | |
sudo chmod 4755 /usr/local/lib/node_modules/electron/dist/chrome-sandbox |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment