diff options
author | zxp19821005 | 2024-03-08 18:46:53 +0800 |
---|---|---|
committer | zxp19821005 | 2024-03-08 18:46:53 +0800 |
commit | f74558b5be90884083d841bbbd65d8b3568e95b3 (patch) | |
tree | 21ca1c7a1cbedfb6348e3008896563640fea46cc /yakuza.sh | |
parent | a2d76c9f7ab4b3d9d3c982728135d21ee5ce6f41 (diff) | |
download | aur-f74558b5be90884083d841bbbd65d8b3568e95b3.tar.gz |
fix errors
Diffstat (limited to 'yakuza.sh')
-rw-r--r-- | yakuza.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/yakuza.sh b/yakuza.sh index f9ced1432cfc..86cb3dc6a9bf 100644 --- a/yakuza.sh +++ b/yakuza.sh @@ -1,10 +1,11 @@ -#!/bin/sh +#!/bin/bash set -e _APPDIR="/usr/lib/@appname@" _RUNNAME="${_APPDIR}/@runname@" export PATH="${_APPDIR}:${PATH}" export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}" export ELECTRON_IS_DEV=0 +export ELECTRON_FORCE_IS_PACKAGED=true export NODE_ENV=production cd "${_APPDIR}" if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then |