mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-25 00:37:24 +08:00
fix-sandbox
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
const { execSync } = require('child_process');
|
||||
|
||||
if (process.platform === 'linux') {
|
||||
// You need to make sure that
|
||||
// /home/runner/work/VutronMusic/VutronMusic/node_modules/electron/dist/chrome-sandbox
|
||||
// is owned by root and has mode 4755.
|
||||
execSync('sudo chown root:root ./node_modules/electron/dist/chrome-sandbox');
|
||||
execSync('sudo chmod 4755 ./node_modules/electron/dist/chrome-sandbox');
|
||||
}
|
||||
Reference in New Issue
Block a user