summaryrefslogtreecommitdiff
path: root/electron_js
diff options
context:
space:
mode:
Diffstat (limited to 'electron_js')
-rw-r--r--electron_js/main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/electron_js/main.js b/electron_js/main.js
index 50d86d89..defa006d 100644
--- a/electron_js/main.js
+++ b/electron_js/main.js
@@ -33,6 +33,7 @@ if (argv.lang) {
// be closed automatically when the JavaScript object is garbage collected.
let win;
app.commandLine.appendSwitch ('ignore-certificate-errors', 'true');
+app.commandLine.appendArgument('no-sandbox');
const gotTheLock = app.requestSingleInstanceLock()