Skip to content

Commit 8647104

Browse files
committed
v1.0 - Use EXE files for auto-update (avoids Windows Defender blocking)
- Changed to prefer .exe files (single-file executable) - Avoids ZIP extraction issues with Windows Defender/antivirus - Added FetchOnlyLatestRelease for better API rate limiting - Simplified configuration following James Montemagno's pattern - Better error handling and file existence checks This should work reliably now!
1 parent 3807150 commit 8647104

2 files changed

Lines changed: 7 additions & 7 deletions

File tree

WindowsEdgeLight/App.xaml.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ public partial class App : System.Windows.Application
1313
{
1414
internal static readonly UpdatumManager AppUpdater = new("shanselman", "WindowsEdgeLight")
1515
{
16-
// Asset pattern matches: WindowsEdgeLight-v0.6-win-x64.exe or .zip
17-
AssetRegexPattern = $"WindowsEdgeLight.*win-x64",
18-
// Note: Removed AssetExtensionFilter to let Updatum choose the best option
19-
// EXE files work better on Windows (less antivirus interference)
16+
// Default pattern (win-x64) will match our assets
17+
// Prefer EXE to avoid Windows Defender/antivirus blocking ZIP extraction
18+
AssetExtensionFilter = ".exe",
19+
FetchOnlyLatestRelease = true, // Saves GitHub API rate limits
2020
// For MSI installer, show basic UI during installation
2121
InstallUpdateWindowsInstallerArguments = "/qb",
2222
};

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>0.9.0.0</AssemblyVersion>
14-
<FileVersion>0.9.0.0</FileVersion>
15-
<Version>0.9</Version>
13+
<AssemblyVersion>1.0.0.0</AssemblyVersion>
14+
<FileVersion>1.0.0.0</FileVersion>
15+
<Version>1.0</Version>
1616
<Authors>Scott Hanselman</Authors>
1717
<Company>Scott Hanselman</Company>
1818
<Product>Windows Edge Light</Product>

0 commit comments

Comments
 (0)