File tree 2 files changed +10
-1
lines changed
tooling/bundler/src/bundle/windows/templates
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " tauri-bundler " : patch
3
+ ---
4
+
5
+ Fixes lost files on upgrade due to wrong implementation to keep shortcuts.
Original file line number Diff line number Diff line change 30
30
<Property Id =" REINSTALLMODE" Value =" dmus" />
31
31
32
32
{{#if allow_downgrades}}
33
- <MajorUpgrade AllowDowngrades =" yes" Schedule =" afterInstallExecute " />
33
+ <MajorUpgrade AllowDowngrades =" yes" Schedule =" afterInstallValidate " />
34
34
{{else}}
35
35
<MajorUpgrade DowngradeErrorMessage =" !(loc.DowngradeErrorMessage)" AllowSameVersionUpgrades =" yes" />
36
36
{{/if}}
37
37
38
+ <InstallExecuteSequence >
39
+ <RemoveShortcuts >Installed AND NOT UPGRADINGPRODUCTCODE</RemoveShortcuts >
40
+ </InstallExecuteSequence >
41
+
38
42
<Media Id =" 1" Cabinet =" app.cab" EmbedCab =" yes" />
39
43
40
44
{{#if banner_path}}
You can’t perform that action at this time.
0 commit comments