feat: add a one-command windows build script

This commit is contained in:
randogoth 2026-10-03 12:30:15 +03:00
parent 080b47b24f
commit 65c0ad2c77
3 changed files with 78 additions and 0 deletions

View file

@ -53,3 +53,18 @@ The result is installed into the user flatpak and runs as
`flatpak run com.randogoth.carrier`. Inside the sandbox the app keeps its
config under `~/.var/app/com.randogoth.carrier/config/carrier`, so a flatpak
install starts with a fresh identity rather than the dev build's account.
### Windows
Install MSYS2 (`winget install MSYS2.MSYS2`), open the **MSYS2 MINGW64**
shell, and run the one-command script from the carrier checkout:
git clone ssh://git@code.randogoth.com:2222/randogoth/carrier.git
cd carrier && windows/setup.sh
`windows/setup.sh` installs the GTK and Rust stack into MSYS2, clones fumi
next to carrier if it is missing, builds, and bundles carrier.exe with the
GTK runtime into `dist/` and a zip — the complete Windows distribution. The
app keeps its config in `%APPDATA%\carrier`. If MSYS2 updates its core
mid-run the shell may close; rerun the script and it continues. Cloning
over SSH needs the key in `~/.ssh` inside the MSYS2 home.