Skip to content

Commit 584eb2d

Browse files
committed
v1.4 - Fix auto-update: Specify executable name in ZIP
THE FIX: Added InstallUpdateSingleFileExecutableName = 'WindowsEdgeLight' This tells Updatum the name of the EXE inside the ZIP file. Without this, Updatum was trying to run the ZIP filename itself! This should work now - test from v1.3!
1 parent 4df790d commit 584eb2d

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

WindowsEdgeLight/App.xaml.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +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)
20+
InstallUpdateSingleFileExecutableName = "WindowsEdgeLight",
1921
// For MSI installer, show basic UI during installation
2022
InstallUpdateWindowsInstallerArguments = "/qb",
2123
};
@@ -85,10 +87,6 @@ private async Task DownloadAndInstallUpdateAsync()
8587
return;
8688
}
8789

88-
// DEBUG: Show what we got
89-
MessageBox.Show($"Downloaded to:\n{downloadedAsset.FilePath}\n\nExists: {System.IO.File.Exists(downloadedAsset.FilePath)}\n\nClick OK to continue...",
90-
"Debug Info", MessageBoxButton.OK, MessageBoxImage.Information);
91-
9290
// Verify the file still exists
9391
if (!System.IO.File.Exists(downloadedAsset.FilePath))
9492
{

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.3.0.0</AssemblyVersion>
14-
<FileVersion>1.3.0.0</FileVersion>
15-
<Version>1.3</Version>
13+
<AssemblyVersion>1.4.0.0</AssemblyVersion>
14+
<FileVersion>1.4.0.0</FileVersion>
15+
<Version>1.4</Version>
1616
<Authors>Scott Hanselman</Authors>
1717
<Company>Scott Hanselman</Company>
1818
<Product>Windows Edge Light</Product>

0 commit comments

Comments
 (0)