Skip to content

Commit 43b1b77

Browse files
committed
Fix Updatum: add win-x64 to zip asset name for default regex match
1 parent f1ea9ea commit 43b1b77

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,11 +127,12 @@ jobs:
127127
# Copy installer with consistent name (for direct download links)
128128
Copy-Item "Output/BabySmash-Setup.exe" -Destination "artifacts/BabySmash-Setup.exe"
129129
130-
# Create portable ZIP with exe and README (Updatum looks for BabySmash.zip based on InstallUpdateSingleFileExecutableName)
130+
# Create portable ZIP with exe and README
131+
# Updatum looks for "win-x64" in asset name by default (AssetRegexPattern)
131132
New-Item -ItemType Directory -Path "temp-x64" -Force
132133
Copy-Item "bin/Release/net10.0-windows/win-x64/publish/BabySmash.exe" -Destination "temp-x64/"
133134
Copy-Item "README.md" -Destination "temp-x64/"
134-
Compress-Archive -Path "temp-x64/*" -DestinationPath "artifacts/BabySmash.zip"
135+
Compress-Archive -Path "temp-x64/*" -DestinationPath "artifacts/BabySmash-win-x64.zip"
135136
136137
Remove-Item "temp-x64" -Recurse -Force
137138
@@ -157,7 +158,7 @@ jobs:
157158
| File | Description |
158159
|------|-------------|
159160
| `BabySmash-Setup.exe` | **Recommended** - Installer with Start Menu shortcut |
160-
| `BabySmash.zip` | Portable version - extract and run anywhere (also used by auto-updater) |
161+
| `BabySmash-win-x64.zip` | Portable version - extract and run anywhere (also used by auto-updater) |
161162
162163
**Self-contained** - No .NET installation required.
163164

0 commit comments

Comments
 (0)