diff options
author | zxp19821005 | 2024-03-06 09:23:37 +0800 |
---|---|---|
committer | zxp19821005 | 2024-03-06 09:23:37 +0800 |
commit | d927e8b6084c5f6a50a87ac6cc46a857df6b7304 (patch) | |
tree | 9d6e12fd49f66be426eb66ca4c0432ab9366711a /altus.sh | |
parent | 6d2528c77705726221304772b6fe434852607d16 (diff) | |
download | aur-d927e8b6084c5f6a50a87ac6cc46a857df6b7304.tar.gz |
update to 5.0.2
Diffstat (limited to 'altus.sh')
-rw-r--r-- | altus.sh | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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 |