Skip to content

Commit 9093ef3

Browse files
authored
fix(bundler): blank taskbar icon on WiX update, closes #5631 (#5779)
1 parent ffe21e0 commit 9093ef3

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": patch
3+
---
4+
5+
Fixes blank taskbar icon on WiX updates.

tooling/bundler/src/bundle/windows/templates/main.wxs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,9 @@
3030
<Property Id="REINSTALLMODE" Value="amus" />
3131

3232
{{#if allow_downgrades}}
33-
<MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallValidate" />
33+
<MajorUpgrade Schedule="afterInstallInitialize" AllowDowngrades="yes" />
3434
{{else}}
35-
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" AllowSameVersionUpgrades="yes" />
35+
<MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" AllowSameVersionUpgrades="yes" />
3636
{{/if}}
3737

3838
<InstallExecuteSequence>

0 commit comments

Comments
 (0)