* fix: add working directory to wix's shortcut * chore: add change file Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
@@ -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"/>