diff options
author | zxp19821005 | 2024-03-06 17:18:31 +0800 |
---|---|---|
committer | zxp19821005 | 2024-03-06 17:18:31 +0800 |
commit | d3c71370e397061f9078d02e9da0744be2112571 (patch) | |
tree | 1fdc0e4cfaf1ba4e7d8affe2a52d4093fc5af760 /webeep-sync.sh | |
parent | fff8ccfec4b73cbd74ed0b8a781bf254d7205005 (diff) | |
download | aur-d3c71370e397061f9078d02e9da0744be2112571.tar.gz |
fix errors
Diffstat (limited to 'webeep-sync.sh')
-rw-r--r-- | webeep-sync.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webeep-sync.sh b/webeep-sync.sh index f9ced1432cfc..86cb3dc6a9bf 100644 --- a/webeep-sync.sh +++ b/webeep-sync.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 |