Debian packaging QIDIStudio

This commit is contained in:
S.Galanskiy
2026-03-24 17:31:40 +05:00
commit 5683afb6f6
27 changed files with 169 additions and 0 deletions

18
debian/qidistudio-appimage/usr/bin/qidistudio vendored Executable file
View File

@@ -0,0 +1,18 @@
#!/bin/sh
set -eu
export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt
# Locale fallback: prefer en_GB.UTF-8, then C.UTF-8, then C.
if locale -a 2>/dev/null | grep -Eiq '^en_GB\.utf-?8$'; then
export LANG=en_GB.UTF-8
export LC_ALL=en_GB.UTF-8
elif locale -a 2>/dev/null | grep -Eiq '^c\.utf-?8$'; then
export LANG=C.UTF-8
export LC_ALL=C.UTF-8
else
export LANG=C
export LC_ALL=C
fi
exec /opt/qidistudio/QIDIStudio_ubu64.AppImage "$@"