mirror of
https://github.com/status-im/status-desktop.git
synced 2025-01-09 05:52:41 +00:00
37ab1a5513
Linux dockerized build and AppDir generation for compilation errors Also added AppImage TODOs, basic setup for MacOS and Windows but they still need work to have at least validation running Temporary disable CPP windows/mac until limitations are addressed in a follow up commit Extra: add build configuration fixes for rest of the platforms closes: #5998
20 lines
676 B
Bash
Executable File
20 lines
676 B
Bash
Executable File
#!/bin/bash
|
|
APPDIR="$(dirname "$(readlink -f "${0}")")"
|
|
export GST_PLUGIN_SCANNER="${APPDIR}/usr/lib/gstreamer1.0/gstreamer-1.0/gst-plugin-scanner"
|
|
export GST_PLUGIN_PATH="${APPDIR}/usr/lib/gstreamer-1.0"
|
|
export GST_PLUGIN_PATH_1_0="${APPDIR}/usr/lib/gstreamer-1.0"
|
|
export GST_PLUGIN_SYSTEM_PATH="${APPDIR}/usr/lib/gstreamer-1.0"
|
|
export GST_PLUGIN_SYSTEM_PATH_1_0="${APPDIR}/usr/lib/gstreamer-1.0"
|
|
export LD_LIBRARY_PATH="${APPDIR}/usr/lib/:${LD_LIBRARY_PATH}"
|
|
export QT_QPA_PLATFORM="xcb"
|
|
|
|
DEFAULT_LANG=en_US.UTF-8
|
|
if [[ "$LANG" == "C.UTF-8" ]]
|
|
then
|
|
export LANG=$DEFAULT_LANG
|
|
else
|
|
export LANG="${VARIABLE:=$DEFAULT_LANG}"
|
|
fi
|
|
|
|
exec "${APPDIR}/usr/bin/status-desktop" "$@"
|