Skip to content

Commit 8d69928

Browse files
fix(bundler): Auto-launch app from install location, closes #3547 (#3553)
Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
1 parent 0a0de8a commit 8d69928

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": patch
3+
---
4+
5+
Fixes the Microsoft Installer launch path.

tooling/bundler/src/bundle/windows/templates/main.wxs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252

5353
<!-- launch app checkbox -->
5454
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="!(loc.LaunchApp)" />
55-
<Property Id="WixShellExecTarget" Value="{{{app_exe_source}}}" />
55+
<Property Id="WixShellExecTarget" Value="[!Path]" />
5656
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
5757

5858
<UI>

tooling/cli/Cargo.lock

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)