mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-01 10:01:07 +02:00
fix: add working directory to wix's shortcut (#1021)
* fix: add working directory to wix's shortcut * chore: add change file Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
This commit is contained in:
5
.changes/wix-working-directory.md
Normal file
5
.changes/wix-working-directory.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Set the Windows installer (WiX) `WorkingDirectory` field to `INSTALLDIR` so the app can read paths relatively (previously resolving to `C:\Windows\System32`).
|
||||
@@ -103,7 +103,8 @@
|
||||
Name="{{{product_name}}}"
|
||||
Description="Runs {{{product_name}}}"
|
||||
Target="[!Path]"
|
||||
Icon="ProductIcon">
|
||||
Icon="ProductIcon"
|
||||
WorkingDirectory="INSTALLDIR">
|
||||
<ShortcutProperty Key="System.AppUserModel.ID" Value="{{{manufacturer}}}"/>
|
||||
</Shortcut>
|
||||
<RemoveFolder Id="ApplicationProgramsFolder" On="uninstall"/>
|
||||
|
||||
Reference in New Issue
Block a user