mirror of
https://github.com/bdnugget/runekit.git
synced 2026-11-07 09:07:30 +00:00
13 lines
298 B
Bash
Executable File
13 lines
298 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Export APPRUN if running from an extracted image
|
|
self="$(readlink -f -- $0)"
|
|
here="${self%/*}"
|
|
APPDIR="${APPDIR:-${here}}"
|
|
|
|
# Export SSL certificate
|
|
export SSL_CERT_FILE="${APPDIR}/opt/_internal/certs.pem"
|
|
export PYTHONHOME="${APPDIR}/opt/python3.9"
|
|
|
|
exec $APPDIR/usr/bin/runekit $@
|