Rename the project to Voelin; packages hold only the app, tsgw is a Linux server package

The product is Voelin (app id io.github.faumaray.Voelin), everywhere:
- crates tsc-* -> voelin-* (and voelin-fuzz), the desktop binary
  tsc-desktop -> voelin, the development CLI tsctl -> voelinctl;
- the Android app: applicationId, Kotlin package io.github.faumaray.voelin,
  VoelinApp, libvoelin_android.so (JNI class names follow);
- TSC_* environment variables -> VOELIN_*, Gradle properties tsc.* ->
  voelin.*, signing secrets VOELIN_SIGNING_*;
- the data/config/cache/state folder tsc -> voelin, the keyring service,
  thread names, the dev compose project;
- desktop file, metainfo, icon, Flatpak manifest, NSIS installer, docs.
The gateway keeps its name: bin tsgw (crate voelin-gateway), TSGW_* env
vars, the tsgw.v1+json protocol, the tsgw image. The window title and the
About page show "Voelin <version>" from voelin_platform::APP_NAME.

Packages (scripts/package.sh): the app only (voelin, voelin.exe, APKs,
Flatpak). voelinctl is a development tool and in no package. tsgw is for
servers and now its own Linux package, tsgw_<v>_amd64.deb and
tsgw-<v>-linux-x86_64.tar.gz, with a sandboxed systemd unit
(packaging/linux/tsgw.service; /etc/tsgw config, /var/lib/tsgw state) and
dependencies of its own (no GUI libraries). docs/gateway-admin.md has an
Install section.

Fixes:
- package-windows: makensis on Windows found no file through "D:/a/..."
  paths; pass Windows paths (cygpath -w).
- StartupWMClass is the app id, which the app sets as its X11 WM_CLASS
  (it was the binary name, so desktops could not match the window).
- Gradle wrapper download timeout 10 s -> 60 s (slow proxies).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NJvYyRmTjKcb9i8eyYXK5G
This commit is contained in:
Claude committed 2026-09-26 21:11:17 +00:00
1 parent fa9e626c5b
commit e050148a32
197 files changed
+1357 -1210

No files matched your search

+11 -10
View File
@@ -1,15 +1,16 @@
# Windows build and installer
CI (`package-windows` in `.github/workflows/ci.yml`) builds `tsc-desktop.exe`,
`tsctl.exe` and `tsgw.exe` on `windows-2025` and uploads the zip and the
installer as the `tsc-windows-x86_64` artifact. Nothing is signed there.
CI (`package-windows` in `.github/workflows/ci.yml`) builds `voelin.exe` on
`windows-2025` and uploads the zip and the installer as the
`voelin-windows-x86_64` artifact. Nothing is signed there. The gateway `tsgw`
is for servers and packaged for Linux only.
`docker/windows.Dockerfile` cross-compiles the same packages on Linux
([docs/building.md](../../docs/building.md)).
## Build
Needs the MSVC build tools, CMake (bundled libopus), NASM (assembly of
`aws-lc-sys`, used by the WebRTC stack) and libvpx (video, `tsc-media`):
`aws-lc-sys`, used by the WebRTC stack) and libvpx (video, `voelin-media`):
```powershell
winget install NASM.NASM Kitware.CMake NSIS.NSIS
@@ -21,14 +22,14 @@ $env:VPX_INCLUDE_DIR = "$vpx\include"
$env:VPX_VERSION = "1.15.2" # what `vcpkg list libvpx` shows
$env:VPX_STATIC = "1"
cargo build --release --locked -p tsc-ui
cargo build --release --locked -p voelin-ui
makensis /DVERSION=0.1.0 packaging\windows\installer.nsi
```
This gives `target\release\tsc-desktop.exe` and
`packaging\windows\tsc-desktop-0.1.0-setup.exe`. The installer puts the app in
`Program Files\TS Client`, adds a Start menu shortcut and an uninstaller; user
data stays in `%APPDATA%\tsc`.
This gives `target\release\voelin.exe` and
`packaging\windows\voelin-0.1.0-setup.exe`. The installer puts the app in
`Program Files\Voelin`, adds a Start menu shortcut and an uninstaller; user
data stays in `%APPDATA%\voelin`.
The executable uses the dynamic MSVC runtime (`VCRUNTIME140.dll`, present on most
systems). To drop that dependency build with
@@ -42,7 +43,7 @@ it, then the installer and the uninstaller it writes (NSIS 3.08+ runs the `SIGN`
command on both):
```powershell
signtool sign /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 /f cert.pfx /p $env:CERT_PASSWORD target\release\tsc-desktop.exe
signtool sign /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 /f cert.pfx /p $env:CERT_PASSWORD target\release\voelin.exe
makensis /DVERSION=0.1.0 "/DSIGN=signtool sign /fd SHA256 /tr http://timestamp.digicert.com /td SHA256 /f cert.pfx /p $env:CERT_PASSWORD %1" packaging\windows\installer.nsi
```