summarylogtreecommitdiffstats
path: root/webeep-sync.sh
diff options
context:
space:
mode:
authorzxp198210052024-03-06 17:18:31 +0800
committerzxp198210052024-03-06 17:18:31 +0800
commitd3c71370e397061f9078d02e9da0744be2112571 (patch)
tree1fdc0e4cfaf1ba4e7d8affe2a52d4093fc5af760 /webeep-sync.sh
parentfff8ccfec4b73cbd74ed0b8a781bf254d7205005 (diff)
downloadaur-d3c71370e397061f9078d02e9da0744be2112571.tar.gz
fix errors
Diffstat (limited to 'webeep-sync.sh')
-rw-r--r--webeep-sync.sh3
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