summarylogtreecommitdiffstats
path: root/kanbanflow-app.sh
diff options
context:
space:
mode:
authorzxp198210052024-03-06 11:23:19 +0800
committerzxp198210052024-03-06 11:23:19 +0800
commita3d7f533b187d4be4d654312711ef2cf9f652306 (patch)
treedf5b76fa44c05b00a5248005dfc4d7eaed9c2b67 /kanbanflow-app.sh
parent40e863e9d1f856e778333be247af49d2c07a3ca4 (diff)
downloadaur-a3d7f533b187d4be4d654312711ef2cf9f652306.tar.gz
fix errors
Diffstat (limited to 'kanbanflow-app.sh')
-rw-r--r--kanbanflow-app.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/kanbanflow-app.sh b/kanbanflow-app.sh
index f9ced1432cfc..86cb3dc6a9bf 100644
--- a/kanbanflow-app.sh
+++ b/kanbanflow-app.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