diff options
author | zxp19821005 | 2023-11-14 10:08:08 +0800 |
---|---|---|
committer | zxp19821005 | 2023-11-14 10:08:08 +0800 |
commit | 6c9b70edf26225862de667c8d4fd5854f9245862 (patch) | |
tree | 5d40009c2b2533de34cc3ee9919578592e4b0498 /epherome.sh | |
parent | 88f41c610e576f7b0e58234f1494564c179ca916 (diff) | |
download | aur-6c9b70edf26225862de667c8d4fd5854f9245862.tar.gz |
fix errors
Diffstat (limited to 'epherome.sh')
-rw-r--r-- | epherome.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/epherome.sh b/epherome.sh index e850be0c4bbb..7fab2ba2a074 100644 --- a/epherome.sh +++ b/epherome.sh @@ -1,6 +1,9 @@ #!/bin/bash _ELECTRON=/usr/bin/electron22 -_ASAR="/opt/epherome/epherome.asar" +APPDIR="/usr/lib/epherome" +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 |