diff options
author | zxp19821005 | 2023-11-15 10:18:59 +0800 |
---|---|---|
committer | zxp19821005 | 2023-11-15 10:18:59 +0800 |
commit | 2fb18f327075b54f06b8ce2d3d8c40b27560bf8f (patch) | |
tree | 177da5e5a089474a79ab74bf6e01cf921af1eb8a /kiwiirc-desktop.sh | |
parent | 6c1c7a3467099284202b92bf5733f1c98676a127 (diff) | |
download | aur-2fb18f327075b54f06b8ce2d3d8c40b27560bf8f.tar.gz |
fix errors
Diffstat (limited to 'kiwiirc-desktop.sh')
-rw-r--r-- | kiwiirc-desktop.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kiwiirc-desktop.sh b/kiwiirc-desktop.sh index cdd24ab52926..74842db40f20 100644 --- a/kiwiirc-desktop.sh +++ b/kiwiirc-desktop.sh @@ -1,6 +1,9 @@ #!/bin/bash _ELECTRON=/usr/bin/electron25 -_ASAR="/opt/kiwiirc-desktop/kiwiirc-desktop.asar" +APPDIR="/usr/lib/kiwiirc-desktop" +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 |