diff options
author | zxp19821005 | 2024-01-15 13:18:17 +0800 |
---|---|---|
committer | zxp19821005 | 2024-01-15 13:18:17 +0800 |
commit | cfcf263e9e051d04654bd5d2adf1ce58547c8f43 (patch) | |
tree | 15b7014b716f204cbe8d95ee84b6cca67b89a54a /lvce.sh | |
parent | d76b9951670f9e2e41cf2982278ccc9ff7ae9ebf (diff) | |
download | aur-cfcf263e9e051d04654bd5d2adf1ce58547c8f43.tar.gz |
update to 0.22.3
Diffstat (limited to 'lvce.sh')
-rw-r--r-- | lvce.sh | 8 |
1 files changed, 3 insertions, 5 deletions
@@ -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 |