소스 검색

fix(bundler): blank taskbar icon on WiX update, closes #5631 (#5779)

Lucas Fernandes Nogueira 2 년 전
부모
커밋
9093ef3314
2개의 변경된 파일7개의 추가작업 그리고 2개의 파일을 삭제
  1. 5 0
      .changes/blank-taskbar-icon-windows.md
  2. 2 2
      tooling/bundler/src/bundle/windows/templates/main.wxs

+ 5 - 0
.changes/blank-taskbar-icon-windows.md

@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch
+---
+
+Fixes blank taskbar icon on WiX updates.

+ 2 - 2
tooling/bundler/src/bundle/windows/templates/main.wxs

@@ -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>