Skip to content

Commit

Permalink
fix(bundler): Fix path seperators for deep link registry entries (#9185)
Browse files Browse the repository at this point in the history
* fix(bundler): Fix path seperators for deep link registry entries

* Update bundler-deep-link-reg-path.md
  • Loading branch information
FabianLars authored Mar 19, 2024
1 parent ac76a22 commit a799f24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changes/bundler-deep-link-reg-path.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'tauri-bundler': 'patch:bug'
---

Fixed an issue that caused the msi bundler to crash when deep link schemes were configured.
4 changes: 2 additions & 2 deletions tooling/bundler/src/bundle/windows/templates/main.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -113,13 +113,13 @@
</RegistryKey>
<!-- Change the Root to HKCU for perUser installations -->
{{#each deep_link_protocols as |protocol| ~}}
<RegistryKey Root="HKLM" Key="Software\\Classes\\{{protocol}}">
<RegistryKey Root="HKLM" Key="Software\Classes\\{{protocol}}">
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
<RegistryValue Type="string" Value="URL:{{bundle_id}} protocol"/>
<RegistryKey Key="DefaultIcon">
<RegistryValue Type="string" Value="&quot;[!Path]&quot;,0" />
</RegistryKey>
<RegistryKey Key="shell\\open\\command">
<RegistryKey Key="shell\open\command">
<RegistryValue Type="string" Value="&quot;[!Path]&quot; &quot;%1&quot;" />
</RegistryKey>
</RegistryKey>
Expand Down

0 comments on commit a799f24

Please sign in to comment.