summaryrefslogtreecommitdiffstats
path: root/thorium-reader.sh
diff options
context:
space:
mode:
Diffstat (limited to 'thorium-reader.sh')
-rw-r--r--thorium-reader.sh16
1 files changed, 0 insertions, 16 deletions
diff --git a/thorium-reader.sh b/thorium-reader.sh
deleted file mode 100644
index 7ddcaab..0000000
--- a/thorium-reader.sh
+++ /dev/null
@@ -1,16 +0,0 @@
1#!/bin/bash
2set -e
3_APPDIR="/usr/lib/@appname@"
4_RUNNAME="${_APPDIR}/@runname@"
5_OPTIONS="@options@"
6export PATH="${_APPDIR}:${PATH}"
7export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}"
8export ELECTRON_IS_DEV=0
9export ELECTRON_FORCE_IS_PACKAGED=true
10export NODE_ENV=production
11cd "${_APPDIR}"
12if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then
13 exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "$@" || exit $?
14else
15 exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "$@" || exit $?
16fi \ No newline at end of file