summarylogtreecommitdiffstats
path: root/live-plus-plus.sh
diff options
context:
space:
mode:
authorzxp198210052023-11-15 10:51:20 +0800
committerzxp198210052023-11-15 10:51:20 +0800
commit91c4d048133cc756914cbbd4257e8325f09a894c (patch)
treeeadee739bdd3ca9f140550989d5e050c0e615e66 /live-plus-plus.sh
parent36858a1ac44200227f4d1511517499abc6e2303b (diff)
downloadaur-91c4d048133cc756914cbbd4257e8325f09a894c.tar.gz
fix errors
Diffstat (limited to 'live-plus-plus.sh')
-rw-r--r--live-plus-plus.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/live-plus-plus.sh b/live-plus-plus.sh
index d16fb4b0947a..9a9ce2f3da60 100644
--- a/live-plus-plus.sh
+++ b/live-plus-plus.sh
@@ -1,6 +1,9 @@
#!/bin/bash
_ELECTRON=/usr/bin/electron24
-_ASAR="/opt/live-plus-plus/resources/app.asar"
+APPDIR=/usr/lib/live-plus-plus
+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