diff options
author | zxp19821005 | 2024-03-05 05:42:45 +0800 |
---|---|---|
committer | zxp19821005 | 2024-03-05 05:42:45 +0800 |
commit | 82b7177d9812e0cdf63013334b41939eaf85469b (patch) | |
tree | 591e7cde06389cc3aeaa649e93767cfe0d2e6a32 /dialogcraft.sh | |
parent | 7bc6bb5bd34993f5a1128eabcf491ec3d3d87ef2 (diff) | |
download | aur-82b7177d9812e0cdf63013334b41939eaf85469b.tar.gz |
fix errors
Diffstat (limited to 'dialogcraft.sh')
-rw-r--r-- | dialogcraft.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/dialogcraft.sh b/dialogcraft.sh index f9ced1432cfc..86cb3dc6a9bf 100644 --- a/dialogcraft.sh +++ b/dialogcraft.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 |