diff options
Diffstat (limited to 'thorium-reader.sh')
-rw-r--r-- | thorium-reader.sh | 16 |
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 | ||
2 | set -e | ||
3 | _APPDIR="/usr/lib/@appname@" | ||
4 | _RUNNAME="${_APPDIR}/@runname@" | ||
5 | _OPTIONS="@options@" | ||
6 | export PATH="${_APPDIR}:${PATH}" | ||
7 | export LD_LIBRARY_PATH="${_APPDIR}/swiftshader:${_APPDIR}/lib:${LD_LIBRARY_PATH}" | ||
8 | export ELECTRON_IS_DEV=0 | ||
9 | export ELECTRON_FORCE_IS_PACKAGED=true | ||
10 | export NODE_ENV=production | ||
11 | cd "${_APPDIR}" | ||
12 | if [[ $EUID -ne 0 ]] || [[ $ELECTRON_RUN_AS_NODE ]]; then | ||
13 | exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" "$@" || exit $? | ||
14 | else | ||
15 | exec electron@electronversion@ "${_RUNNAME}" "${_OPTIONS}" --no-sandbox "$@" || exit $? | ||
16 | fi \ No newline at end of file | ||