summarylogtreecommitdiffstats
path: root/borg-explorer.sh
diff options
context:
space:
mode:
Diffstat (limited to 'borg-explorer.sh')
-rw-r--r--borg-explorer.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/borg-explorer.sh b/borg-explorer.sh
index 89163565dbc2..18c6dfefd2c4 100644
--- a/borg-explorer.sh
+++ b/borg-explorer.sh
@@ -1,6 +1,9 @@
#!/bin/bash
_ELECTRON=/usr/bin/electron22
-_ASAR="/opt/borg-explorer/borg-explorer.asar"
+APPDIR="/usr/lib/borg-explorer"
+export PATH="${APPDIR}:${PATH}"
+#export LD_LIBRARY_PATH="${APPDIR}/lib:${LD_LIBRARY_PATH}"
+_ASAR="${APPDIR}/app"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
exec ${_ELECTRON} ${_ASAR} "$@"
else