summarylogtreecommitdiffstats
path: root/listen1-desktop.sh
diff options
context:
space:
mode:
authorzxp198210052024-03-06 13:17:06 +0800
committerzxp198210052024-03-06 13:17:06 +0800
commit25323509fa4e940c6f655db061be945ea09cc81e (patch)
tree0d07ae58e9fdf82ae177a3736a9368ae00ff34c3 /listen1-desktop.sh
parent7336e960a8cc01d3f13e7d5bd84571b7a80497b5 (diff)
downloadaur-25323509fa4e940c6f655db061be945ea09cc81e.tar.gz
fix errors
Diffstat (limited to 'listen1-desktop.sh')
-rw-r--r--listen1-desktop.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/listen1-desktop.sh b/listen1-desktop.sh
index f9ced1432cfc..86cb3dc6a9bf 100644
--- a/listen1-desktop.sh
+++ b/listen1-desktop.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