summarylogtreecommitdiffstats
path: root/leafview.sh
diff options
context:
space:
mode:
authorzxp198210052023-11-02 09:22:47 +0800
committerzxp198210052023-11-02 09:22:47 +0800
commita6b40c3191c845facc2c8d372bfc88c45463a56c (patch)
treec6cef8c0124462f428154fb05d754ce39ec68d8d /leafview.sh
parent484bfcde3f5c73f0b46921820e8ce71c04460948 (diff)
downloadaur-a6b40c3191c845facc2c8d372bfc88c45463a56c.tar.gz
update to 2.7.3
Diffstat (limited to 'leafview.sh')
-rw-r--r--leafview.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/leafview.sh b/leafview.sh
index d141c2f19800..b0b8a55c0333 100644
--- a/leafview.sh
+++ b/leafview.sh
@@ -1,6 +1,9 @@
#!/bin/bash
_ELECTRON=/usr/bin/electron27
-_ASAR="/opt/leafview/resources/app.asar"
+APPDIR="/usr/lib/leafview"
+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