Commit Graph
4 Commits
Author SHA1 Message Date
kawaandClaude Sonnet 5 f5ad546c62 fix: generate en_US.UTF-8 for makensis, C.UTF-8 needs glibc 2.35+
C.UTF-8 is a glibc built-in only from 2.35 (Debian 12+) onward; on an
older Debian runner setlocale() silently falls back to POSIX, which is
exactly the "main argv conversion failed!" crash from before. Install
locales and generate en_US.UTF-8 explicitly instead, which works on any
Debian version.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-28 15:19:32 +02:00
kawaandClaude Sonnet 5 52eb14b3c8 fix: Wine locale crash and rename secrets off the GITEA_ prefix
C.UTF-8 for the win/AppImage build step: Wine's makensis was aborting
with ERR_ELECTRON_BUILDER_CANNOT_EXECUTE / "main argv conversion
failed!" under the runner's default C/POSIX locale.

Gitea rejects secret names starting with GITEA, so the registry/API
credentials are now BUILD_USER/BUILD_TOKEN.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-28 15:12:08 +02:00
kawaandClaude Sonnet 5 1843b38915 fix: target the docker-build runner label, drop snap for pwsh install
The registered Gitea Actions runner is a persistent Debian host labeled
docker-build, not ubuntu-latest. Debian ships no snapd by default, so
swap the PowerShell bootstrap for Microsoft's portable linux-x64
tarball, which needs only curl/tar.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-28 14:54:49 +02:00
kawaandClaude Sonnet 5 2927018af1 feat: add CI release workflow for installers, AppImage and Docker
Gitea Actions workflow triggered on tag push or manual dispatch: builds
the Windows NSIS/portable installers and Linux AppImage, builds+pushes
the Docker image, then creates/updates the Gitea release with a
changelog-compare link as the body and all artifacts attached. Flatpak
stays local-only (build-release.ps1) since flatpak-builder's sandbox
isn't reliable on a containerized Actions runner.

Also fixes build-release.ps1: the win.signExecutable=false override
only applied when cross-building via the WSL path, not to a genuine
native-Linux build of the "win" target (the CI's case).

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-08-28 14:42:47 +02:00