Skip to content

Commit a799f24

Browse files
authored
fix(bundler): Fix path seperators for deep link registry entries (#9185)
* fix(bundler): Fix path seperators for deep link registry entries * Update bundler-deep-link-reg-path.md
1 parent ac76a22 commit a799f24

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
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:bug'
3+
---
4+
5+
Fixed an issue that caused the msi bundler to crash when deep link schemes were configured.

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@
113113
</RegistryKey>
114114
<!-- Change the Root to HKCU for perUser installations -->
115115
{{#each deep_link_protocols as |protocol| ~}}
116-
<RegistryKey Root="HKLM" Key="Software\\Classes\\{{protocol}}">
116+
<RegistryKey Root="HKLM" Key="Software\Classes\\{{protocol}}">
117117
<RegistryValue Type="string" Name="URL Protocol" Value=""/>
118118
<RegistryValue Type="string" Value="URL:{{bundle_id}} protocol"/>
119119
<RegistryKey Key="DefaultIcon">
120120
<RegistryValue Type="string" Value="&quot;[!Path]&quot;,0" />
121121
</RegistryKey>
122-
<RegistryKey Key="shell\\open\\command">
122+
<RegistryKey Key="shell\open\command">
123123
<RegistryValue Type="string" Value="&quot;[!Path]&quot; &quot;%1&quot;" />
124124
</RegistryKey>
125125
</RegistryKey>

0 commit comments

Comments
 (0)