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