mirror of
https://github.com/netzbegruenung/jitsi-meet-electron.git
synced 2024-05-03 09:13:43 +02:00
Disable sandbox on Linux
Ref: https://github.com/jitsi/jitsi-meet-electron/issues/231
This commit is contained in:
parent
bbe835d23a
commit
17bce238d4
|
@ -19,11 +19,9 @@ matrix:
|
||||||
- libxtst-dev
|
- libxtst-dev
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- | # Fix chrome-sandbox: https://github.com/electron/electron/issues/17972
|
- | # Disable sandbox: https://github.com/electron/electron/issues/17972
|
||||||
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
if [[ "${TRAVIS_OS_NAME}" == "linux" ]]; then
|
||||||
echo "Fixing chrome-sandbox permissions..."
|
patch -p1 -i patches/app-builder-lib+22.3.6.patch
|
||||||
sudo chown root ./node_modules/electron/dist/chrome-sandbox
|
|
||||||
sudo chmod 4755 ./node_modules/electron/dist/chrome-sandbox
|
|
||||||
fi
|
fi
|
||||||
script:
|
script:
|
||||||
- npm run dist
|
- npm run dist
|
||||||
|
|
13
patches/app-builder-lib+22.3.6.patch
Normal file
13
patches/app-builder-lib+22.3.6.patch
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
diff --git a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
||||||
|
index 6e674b9..8e5be4f 100644
|
||||||
|
--- a/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
||||||
|
+++ b/node_modules/app-builder-lib/out/targets/LinuxTargetHelper.js
|
||||||
|
@@ -135,7 +135,7 @@ class LinuxTargetHelper {
|
||||||
|
exec += executableArgs.join(" ");
|
||||||
|
}
|
||||||
|
|
||||||
|
- exec += " %U";
|
||||||
|
+ exec += " --no-sandbox %U";
|
||||||
|
}
|
||||||
|
|
||||||
|
const desktopMeta = Object.assign(Object.assign({
|
Loading…
Reference in a new issue