summarylogtreecommitdiffstats
path: root/altus.sh
diff options
context:
space:
mode:
authorzxp198210052024-03-06 09:23:37 +0800
committerzxp198210052024-03-06 09:23:37 +0800
commitd927e8b6084c5f6a50a87ac6cc46a857df6b7304 (patch)
tree9d6e12fd49f66be426eb66ca4c0432ab9366711a /altus.sh
parent6d2528c77705726221304772b6fe434852607d16 (diff)
downloadaur-d927e8b6084c5f6a50a87ac6cc46a857df6b7304.tar.gz
update to 5.0.2
Diffstat (limited to 'altus.sh')
-rw-r--r--altus.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/altus.sh b/altus.sh
index f9ced1432cfc..86cb3dc6a9bf 100644
--- a/altus.sh
+++ b/altus.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