summarylogtreecommitdiffstats
path: root/prepros.sh
diff options
context:
space:
mode:
authorzxp198210052023-11-20 17:48:28 +0800
committerzxp198210052023-11-20 17:48:28 +0800
commitf9afe8cc3d80facc7f4f06f1126c78575ffcb1fb (patch)
treec769f6641ad836453a3a3388e80902dbd8cb4cf6 /prepros.sh
parentf35974a66acd97cb1702edbafb9c137e2b33ff4b (diff)
downloadaur-f9afe8cc3d80facc7f4f06f1126c78575ffcb1fb.tar.gz
fix errors
Diffstat (limited to 'prepros.sh')
-rw-r--r--prepros.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/prepros.sh b/prepros.sh
index 3ba4cebf6cf9..ea5a0a7ea75b 100644
--- a/prepros.sh
+++ b/prepros.sh
@@ -1,6 +1,9 @@
#!/bin/bash
_ELECTRON=/usr/bin/electron25
-_ASAR="/opt/prepros/resources/app.asar"
+APPDIR="/usr/lib/prepros"
+export PATH="${APPDIR}:${PATH}"
+#export LD_LIBRARY_PATH="${APPDIR}/swiftshader:${LD_LIBRARY_PATH}"
+_ASAR="${APPDIR}/app.asar"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
exec ${_ELECTRON} ${_ASAR} "$@"
else