summarylogtreecommitdiffstats
path: root/ficus.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ficus.sh')
-rw-r--r--ficus.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/ficus.sh b/ficus.sh
index fb1dc0a14531..d39c6d4475b0 100644
--- a/ficus.sh
+++ b/ficus.sh
@@ -1,6 +1,8 @@
#!/bin/bash
+_ELECTRON=/usr/bin/electron13
+_ASAR="/opt/ficus/ficus.asar"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
- exec electron13 /opt/ficus/ficus.asar "$@"
+ exec ${_ELECTRON} ${_ASAR} "$@"
else
- exec electron13 --no-sandbox /opt/ficus/ficus.asar "$@"
+ exec ${_ELECTRON} ${_ASAR} --no-sandbox "$@"
fi \ No newline at end of file