diff options
author | zxp19821005 | 2023-11-03 10:20:29 +0800 |
---|---|---|
committer | zxp19821005 | 2023-11-03 10:20:29 +0800 |
commit | abf4b4660f7b08c602f6b4ce231ede69ac8b4625 (patch) | |
tree | b4fd4dabb7d49b9a6716fcf6f090d27d859d8f63 /translationcore.sh | |
parent | 17570c608e121a02f185710e16ab1e06f2a05460 (diff) | |
download | aur-abf4b4660f7b08c602f6b4ce231ede69ac8b4625.tar.gz |
update to 3.6.0
Diffstat (limited to 'translationcore.sh')
-rw-r--r-- | translationcore.sh | 5 |
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 |