summarylogtreecommitdiffstats
path: root/translationcore.sh
diff options
context:
space:
mode:
authorzxp198210052023-11-03 10:20:29 +0800
committerzxp198210052023-11-03 10:20:29 +0800
commitabf4b4660f7b08c602f6b4ce231ede69ac8b4625 (patch)
treeb4fd4dabb7d49b9a6716fcf6f090d27d859d8f63 /translationcore.sh
parent17570c608e121a02f185710e16ab1e06f2a05460 (diff)
downloadaur-abf4b4660f7b08c602f6b4ce231ede69ac8b4625.tar.gz
update to 3.6.0
Diffstat (limited to 'translationcore.sh')
-rw-r--r--translationcore.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/translationcore.sh b/translationcore.sh
index 83ffc67f185c..a0bf12649e29 100644
--- a/translationcore.sh
+++ b/translationcore.sh
@@ -1,6 +1,9 @@
#!/bin/bash
_ELECTRON=/usr/bin/electron25
-_ASAR="/opt/translationcore/translationcore.asar"
+APPDIR="/usr/lib/translationcore"
+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