summarylogtreecommitdiffstats
path: root/backend-ai-desktop.sh
diff options
context:
space:
mode:
Diffstat (limited to 'backend-ai-desktop.sh')
-rw-r--r--backend-ai-desktop.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/backend-ai-desktop.sh b/backend-ai-desktop.sh
index d098ac28306f..90049606a0b7 100644
--- a/backend-ai-desktop.sh
+++ b/backend-ai-desktop.sh
@@ -1,9 +1,8 @@
#!/bin/bash
_ELECTRON=/usr/bin/electron26
-APPDIR="/opt/backend-ai-desktop"
+APPDIR="/usr/lib/backend-ai-desktop"
export PATH="${APPDIR}:${APPDIR}/usr/sbin:${PATH}"
-export LD_LIBRARY_PATH="${APPDIR}/usr/lib":"${APPDIR}/swiftshader":"${LD_LIBRARY_PATH}"
-_ASAR="${APPDIR}/resources/app.asar"
+_ASAR="${APPDIR}/app.asar"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
exec ${_ELECTRON} ${_ASAR} "$@"
else