diff options
author | Yigit Sever | 2024-04-17 22:38:58 +0300 |
---|---|---|
committer | Yigit Sever | 2024-04-17 22:38:58 +0300 |
commit | 29f9338090a1d28a6e9595f52cade66c0a3cefbe (patch) | |
tree | acdc8ee69728cfe68faa597e380e56648a2b69b6 /thorium-reader.sh | |
parent | d77ff30c9fa9c99b08c2e800e89fc952c8a8b84a (diff) | |
download | packages-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.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 | ||