summarylogtreecommitdiffstats
path: root/frosch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'frosch.sh')
-rw-r--r--frosch.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/frosch.sh b/frosch.sh
new file mode 100644
index 000000000000..162843cef01c
--- /dev/null
+++ b/frosch.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
+ exec electron11 /opt/frosch/frosch.asar "$@"
+else
+ exec electron11 --no-sandbox /opt/frosch/frosch.asar "$@"
+fi \ No newline at end of file