소스 검색

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" />