@@ -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
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
0 commit comments