diff --git a/.changes/fix-windows-downgrades.md b/.changes/fix-windows-downgrades.md new file mode 100644 index 000000000..c09942302 --- /dev/null +++ b/.changes/fix-windows-downgrades.md @@ -0,0 +1,5 @@ +--- +"tauri-bundler": patch +--- + +Fix app downgrades when using the Windows installer. diff --git a/tooling/bundler/src/bundle/windows/templates/main.wxs b/tooling/bundler/src/bundle/windows/templates/main.wxs index f6eea5204..3c0f76c9a 100644 --- a/tooling/bundler/src/bundle/windows/templates/main.wxs +++ b/tooling/bundler/src/bundle/windows/templates/main.wxs @@ -25,8 +25,12 @@ InstallScope="perMachine" SummaryCodepage="!(loc.TauriCodepage)"/> + + + + {{#if allow_downgrades}} - + {{else}} {{/if}}