summarylogtreecommitdiffstats
path: root/lvce.sh
diff options
context:
space:
mode:
authorzxp198210052024-01-15 13:18:17 +0800
committerzxp198210052024-01-15 13:18:17 +0800
commitcfcf263e9e051d04654bd5d2adf1ce58547c8f43 (patch)
tree15b7014b716f204cbe8d95ee84b6cca67b89a54a /lvce.sh
parentd76b9951670f9e2e41cf2982278ccc9ff7ae9ebf (diff)
downloadaur-cfcf263e9e051d04654bd5d2adf1ce58547c8f43.tar.gz
update to 0.22.3
Diffstat (limited to 'lvce.sh')
-rw-r--r--lvce.sh8
1 files changed, 3 insertions, 5 deletions
diff --git a/lvce.sh b/lvce.sh
index c77c53567639..aacd8f895847 100644
--- a/lvce.sh
+++ b/lvce.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