Add 32-bit portable and installer build support

This commit is contained in:
Dario P. committed 2026-10-16 11:56:48 +02:00
1 parent e1e9a5e6a9
commit 044a22bec8
4 files changed
+37 -16

No files matched your search

+7 -3
View File
@@ -25,12 +25,13 @@ A portable C# / WPF website launcher for Windows.
## Run
Choose a Windows x64 download from [Releases](https://github.com/donishki/orbit/releases/latest):
Choose a Windows x64 (64-bit) or x86 (32-bit) download from [Releases](https://github.com/donishki/orbit/releases/latest):
- **Orbit-Setup-win-x64.exe**: installs Orbit for your Windows account, adds a Start menu shortcut, and offers an optional desktop shortcut. Remove it through Windows Settings > Apps.
- **Orbit-Portable-win-x64.zip**: extract and run `Orbit.exe`, without installing.
- **Orbit-Setup-win-x86.exe** / **Orbit-Portable-win-x86.zip**: the equivalent 32-bit versions.
Both include .NET and support 64-bit Windows 10 or Windows 11. The installer defaults to `%LOCALAPPDATA%\Programs\Orbit`, requires no administrator password, and preserves links and settings during upgrades and uninstall. Installed and portable copies share the same settings for your account.
All packages include .NET. Use x64 for 64-bit Windows 10/11, or x86 for 32-bit Windows 10 (also runnable on 64-bit Windows). The installer defaults to `%LOCALAPPDATA%\Programs\Orbit`, requires no administrator password, and preserves links and settings during upgrades and uninstall. The x86 installer uses `%LOCALAPPDATA%\Programs\Orbit-x86` and labels shortcuts “Orbit (32-bit)” so both architectures can coexist. Installed and portable copies share the same settings for your account.
## Settings
@@ -50,16 +51,19 @@ Requires Windows and the .NET 8 SDK.
dotnet publish Orbit.csproj -c Release -r win-x64 --self-contained true -p:PublishSingleFile=true -p:IncludeNativeLibrariesForSelfExtract=true -p:DebugType=None -p:DebugSymbols=false -o release
```
For the 32-bit portable build, replace `win-x64` with `win-x86` and use a separate output directory.
### Build the installer
Install Inno Setup 7, then run:
```powershell
./installer/Build-Installer.ps1
./installer/Build-Installer.ps1 -Architecture x86
```
Use `-IsccPath` for a compiler installed elsewhere. The output is
`release/Orbit-Setup-win-x64.exe`. The installer bundles the runtime as normal
`release/Orbit-Setup-win-x64.exe` or `release/Orbit-Setup-win-x86.exe`. The installer bundles the runtime as normal
files so the installed app does not need to extract it on launch.
## Checks