diff options
author | zxp19821005 | 2024-03-08 15:11:48 +0800 |
---|---|---|
committer | zxp19821005 | 2024-03-08 15:11:48 +0800 |
commit | 7a386767fde3f78805871d3187d30c874475687d (patch) | |
tree | 27e50eef19197969407e11cf9858b6a1802986f6 /brisqi.sh | |
parent | 131942dc605f6f71b1019fdd00686e962a27085b (diff) | |
download | aur-7a386767fde3f78805871d3187d30c874475687d.tar.gz |
fix errors
Diffstat (limited to 'brisqi.sh')
-rw-r--r-- | brisqi.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/brisqi.sh b/brisqi.sh index f9ced1432cfc..86cb3dc6a9bf 100644 --- a/brisqi.sh +++ b/brisqi.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 |