Skip to content

Commit

Permalink
fix(bundler): blank taskbar icon on WiX update, closes #5631 (#5779)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog authored Dec 8, 2022
1 parent ffe21e0 commit 9093ef3
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/blank-taskbar-icon-windows.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---

Fixes blank taskbar icon on WiX updates.
4 changes: 2 additions & 2 deletions tooling/bundler/src/bundle/windows/templates/main.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
<Property Id="REINSTALLMODE" Value="amus" />

{{#if allow_downgrades}}
<MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallValidate" />
<MajorUpgrade Schedule="afterInstallInitialize" AllowDowngrades="yes" />
{{else}}
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" AllowSameVersionUpgrades="yes" />
<MajorUpgrade Schedule="afterInstallInitialize" DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" AllowSameVersionUpgrades="yes" />
{{/if}}

<InstallExecuteSequence>
Expand Down

0 comments on commit 9093ef3

Please sign in to comment.