summaryrefslogtreecommitdiffstats
path: root/thorium-reader.sh
diff options
context:
space:
mode:
authorYigit Sever2024-04-17 22:38:58 +0300
committerYigit Sever2024-04-17 22:38:58 +0300
commit29f9338090a1d28a6e9595f52cade66c0a3cefbe (patch)
treeacdc8ee69728cfe68faa597e380e56648a2b69b6 /thorium-reader.sh
parentd77ff30c9fa9c99b08c2e800e89fc952c8a8b84a (diff)
downloadpackages-29f9338090a1d28a6e9595f52cade66c0a3cefbe.tar.gz
packages-29f9338090a1d28a6e9595f52cade66c0a3cefbe.tar.bz2
packages-29f9338090a1d28a6e9595f52cade66c0a3cefbe.zip
upgpkg: thorium-reader-bin 2.4.1
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