summarylogtreecommitdiffstats
path: root/eusoft-ting-es.sh
diff options
context:
space:
mode:
authorzxp198210052023-11-14 10:37:34 +0800
committerzxp198210052023-11-14 10:37:34 +0800
commit97c9262967dcd2d284dc5aad88a615e7cbb722f6 (patch)
treedb3d960d27239fc418ebf28daf7297c33a0f416a /eusoft-ting-es.sh
parent881699149277581a96ddc50516639c991e3b7277 (diff)
downloadaur-97c9262967dcd2d284dc5aad88a615e7cbb722f6.tar.gz
update to 9.7.0
Diffstat (limited to 'eusoft-ting-es.sh')
-rw-r--r--eusoft-ting-es.sh5
1 files changed, 4 insertions, 1 deletions
diff --git a/eusoft-ting-es.sh b/eusoft-ting-es.sh
index 232c40e51119..84388447f096 100644
--- a/eusoft-ting-es.sh
+++ b/eusoft-ting-es.sh
@@ -1,6 +1,9 @@
#!/bin/bash
_ELECTRON=/usr/bin/electron13
-_ASAR="/opt/eusoft-ting-es/eusoft-ting-es.asar"
+APPDIR="/usr/lib/eusoft-ting-es"
+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