Skip to content

Commit 9cec287

Browse files
committed
Bump to v0.6 - Fix update installer by removing InstallUpdateWindowsInstallerArguments and including README in ZIP for proper portable app detection
1 parent 0b0a0f4 commit 9cec287

File tree

3 files changed

+18
-12
lines changed

3 files changed

+18
-12
lines changed

.github/workflows/build.yml

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,19 @@ jobs:
5656
$version = "${{ github.event.inputs.version }}"
5757
}
5858
59-
# Create ZIP files only (contain clean WindowsEdgeLight.exe inside)
60-
Compress-Archive -Path "WindowsEdgeLight/bin/Release/net10.0-windows/win-x64/publish/*" `
61-
-DestinationPath "artifacts/WindowsEdgeLight-v$version-win-x64.zip"
62-
Compress-Archive -Path "WindowsEdgeLight/bin/Release/net10.0-windows/win-arm64/publish/*" `
63-
-DestinationPath "artifacts/WindowsEdgeLight-v$version-win-arm64.zip"
59+
# Create ZIP files with exe and README (so Updatum treats as portable app)
60+
New-Item -ItemType Directory -Path "temp-x64" -Force
61+
Copy-Item "WindowsEdgeLight/bin/Release/net10.0-windows/win-x64/publish/WindowsEdgeLight.exe" -Destination "temp-x64/"
62+
Copy-Item "README.md" -Destination "temp-x64/"
63+
Compress-Archive -Path "temp-x64/*" -DestinationPath "artifacts/WindowsEdgeLight-v$version-win-x64.zip"
64+
65+
New-Item -ItemType Directory -Path "temp-arm64" -Force
66+
Copy-Item "WindowsEdgeLight/bin/Release/net10.0-windows/win-arm64/publish/WindowsEdgeLight.exe" -Destination "temp-arm64/"
67+
Copy-Item "README.md" -Destination "temp-arm64/"
68+
Compress-Archive -Path "temp-arm64/*" -DestinationPath "artifacts/WindowsEdgeLight-v$version-win-arm64.zip"
69+
70+
Remove-Item "temp-x64" -Recurse -Force
71+
Remove-Item "temp-arm64" -Recurse -Force
6472
6573
- name: Upload artifacts
6674
uses: actions/upload-artifact@v4
@@ -85,7 +93,7 @@ jobs:
8593
- **WindowsEdgeLight-${{ github.ref_name }}-win-x64.zip** - For Intel/AMD 64-bit Windows
8694
- **WindowsEdgeLight-${{ github.ref_name }}-win-arm64.zip** - For ARM64 Windows (Surface Pro X, etc.)
8795
88-
**What's inside:** Each ZIP contains `WindowsEdgeLight.exe` (self-contained, no .NET required)
96+
**What's inside:** Each ZIP contains `WindowsEdgeLight.exe` and `README.md` (self-contained, no .NET required)
8997
9098
### ✨ What's New
9199

WindowsEdgeLight/App.xaml.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,8 @@ public partial class App : System.Windows.Application
1616
// Default pattern (win-x64) will match our ZIP assets
1717
// ZIP files contain clean WindowsEdgeLight.exe inside
1818
FetchOnlyLatestRelease = true, // Saves GitHub API rate limits
19-
// Specify the executable name inside the ZIP (without .exe extension)
19+
// Specify the executable name for single-file app (without .exe extension)
2020
InstallUpdateSingleFileExecutableName = "WindowsEdgeLight",
21-
// For MSI installer, show basic UI during installation
22-
InstallUpdateWindowsInstallerArguments = "/qb",
2321
};
2422

2523
protected override async void OnStartup(StartupEventArgs e)

WindowsEdgeLight/WindowsEdgeLight.csproj

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
<ApplicationIcon>ringlight_cropped.ico</ApplicationIcon>
1111

1212
<!-- Assembly Information -->
13-
<AssemblyVersion>1.5.0.0</AssemblyVersion>
14-
<FileVersion>1.5.0.0</FileVersion>
15-
<Version>1.5</Version>
13+
<AssemblyVersion>0.6.0.0</AssemblyVersion>
14+
<FileVersion>0.6.0.0</FileVersion>
15+
<Version>0.6</Version>
1616
<Authors>Scott Hanselman</Authors>
1717
<Company>Scott Hanselman</Company>
1818
<Product>Windows Edge Light</Product>

0 commit comments

Comments
 (0)