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