summarylogtreecommitdiffstats
path: root/brisqi.sh
diff options
context:
space:
mode:
authorzxp198210052024-03-08 15:11:48 +0800
committerzxp198210052024-03-08 15:11:48 +0800
commit7a386767fde3f78805871d3187d30c874475687d (patch)
tree27e50eef19197969407e11cf9858b6a1802986f6 /brisqi.sh
parent131942dc605f6f71b1019fdd00686e962a27085b (diff)
downloadaur-7a386767fde3f78805871d3187d30c874475687d.tar.gz
fix errors
Diffstat (limited to 'brisqi.sh')
-rw-r--r--brisqi.sh3
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