summarylogtreecommitdiffstats
path: root/yakuza.sh
diff options
context:
space:
mode:
authorzxp198210052024-03-08 18:46:53 +0800
committerzxp198210052024-03-08 18:46:53 +0800
commitf74558b5be90884083d841bbbd65d8b3568e95b3 (patch)
tree21ca1c7a1cbedfb6348e3008896563640fea46cc /yakuza.sh
parenta2d76c9f7ab4b3d9d3c982728135d21ee5ce6f41 (diff)
downloadaur-f74558b5be90884083d841bbbd65d8b3568e95b3.tar.gz
fix errors
Diffstat (limited to 'yakuza.sh')
-rw-r--r--yakuza.sh3
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