Преглед на файлове

feat(bundler): check `Launch app` by default for WiX, closes #5859 (#5871)

Amr Bashir преди 2 години
родител
ревизия
89602cdce3
променени са 2 файла, в които са добавени 7 реда и са изтрити 0 реда
  1. 6 0
      .changes/wix-launch-app-checked.md
  2. 1 0
      tooling/bundler/src/bundle/windows/templates/main.wxs

+ 6 - 0
.changes/wix-launch-app-checked.md

@@ -0,0 +1,6 @@
+---
+"tauri-bundler": "patch"
+---
+
+On Windows, the `msi` installer's `Launch App` checkbox will be checked by default.
+

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

@@ -63,6 +63,7 @@
 
         <!-- launch app checkbox -->
         <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="!(loc.LaunchApp)" />
+        <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
         <Property Id="WixShellExecTarget" Value="[!Path]" />
         <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />