From 7be145b94aae3242ccc1ced68e42f0db5fba46ab Mon Sep 17 00:00:00 2001 From: deepend-tildeclub <58404188+deepend-tildeclub@users.noreply.github.com> Date: Sun, 1 Feb 2026 16:39:38 -0700 Subject: [PATCH] Clarify OpenSSL trust store override and clean up code Added a comment to clarify the purpose of the OpenSSL trust store override and removed unnecessary code related to GDK_BACKEND configuration. --- .github/workflows/appimage-build.yml | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/.github/workflows/appimage-build.yml b/.github/workflows/appimage-build.yml index a4ed3fd5..d268669d 100644 --- a/.github/workflows/appimage-build.yml +++ b/.github/workflows/appimage-build.yml @@ -99,21 +99,11 @@ jobs: export GIO_EXTRA_MODULES="$APPDIR/usr/lib/gio/modules${GIO_EXTRA_MODULES:+:$GIO_EXTRA_MODULES}" fi - # OpenSSL trust store override + # OpenSSL trust store override (fixes “unable to get local issuer certificate (20)”) export SSL_CERT_FILE="${SSL_CERT_FILE:-$APPDIR/etc/ssl/certs/ca-certificates.crt}" export SSL_CERT_DIR="${SSL_CERT_DIR:-$APPDIR/etc/ssl/certs}" export CURL_CA_BUNDLE="${CURL_CA_BUNDLE:-$SSL_CERT_FILE}" - # Prefer Wayland if the session provides it, but keep X11 fallback. - # Don't override if the user already set GDK_BACKEND explicitly. - if [ -z "${GDK_BACKEND:-}" ]; then - if [ -n "${WAYLAND_DISPLAY:-}" ] || [ "${XDG_SESSION_TYPE:-}" = "wayland" ]; then - export GDK_BACKEND="wayland,x11" - else - export GDK_BACKEND="x11" - fi - fi - exec "$APPDIR/usr/bin/zoitechat" "$@" EOF chmod +x AppRun