summarylogtreecommitdiffstats
path: root/live-plus-plus.sh
diff options
context:
space:
mode:
authorzxp198210052024-01-11 13:41:09 +0800
committerzxp198210052024-01-11 13:41:09 +0800
commit8a75ee358345f5e3067e69b57e68b5b94cc582e2 (patch)
tree4333fce709b45938980916c5bd9b6fa9af6ef4b3 /live-plus-plus.sh
parent0c6bdc9378f83437d78bf505aa294e877a54c33a (diff)
downloadaur-8a75ee358345f5e3067e69b57e68b5b94cc582e2.tar.gz
update to 2.2.0
Diffstat (limited to 'live-plus-plus.sh')
-rw-r--r--live-plus-plus.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/live-plus-plus.sh b/live-plus-plus.sh
index c77c53567639..aacd8f895847 100644
--- a/live-plus-plus.sh
+++ b/live-plus-plus.sh
@@ -6,12 +6,10 @@ export PATH="${_APPDIR}:${PATH}"
export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}"
export ELECTRON_IS_DEV=0
export NODE_ENV=production
+cd "${_APPDIR}"
if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
- cd "${_APPDIR}"
exec electron@electronversion@ "${_ASAR}" "$@"
- exit
else
- cd "${_APPDIR}"
exec electron@electronversion@ "${_ASAR}" --no-sandbox "$@"
- exit
-fi \ No newline at end of file
+fi
+exit \ No newline at end of file