File tree Expand file tree Collapse file tree
tooling/bundler/src/bundle Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ ---
2+ " tauri-bundler " : patch
3+ ---
4+
5+ Fix registry keys on the WiX template.
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ use std::{
88} ;
99
1010/// Directory options.
11- #[ derive( Clone ) ]
11+ #[ derive( Default , Clone ) ]
1212pub struct DirOpts {
1313 pub depth : u64 ,
1414}
@@ -51,12 +51,6 @@ impl Default for Options {
5151 }
5252}
5353
54- impl Default for DirOpts {
55- fn default ( ) -> DirOpts {
56- DirOpts { depth : 0 }
57- }
58- }
59-
6054impl Default for FileOpts {
6155 fn default ( ) -> FileOpts {
6256 FileOpts {
Original file line number Diff line number Diff line change 7171 <Component Id =" ApplicationShortcutDesktop" Guid =" *" >
7272 <Shortcut Id =" ApplicationDesktopShortcut" Name =" {{{product_name}}}" Description =" Runs {{{product_name}}}" Target =" [!Path]" WorkingDirectory =" INSTALLDIR" />
7373 <RemoveFolder Id =" DesktopFolder" On =" uninstall" />
74- <RegistryValue Root =" HKCU" Key =" Software\{{{product_name}}}" Name =" installed" Type =" integer" Value =" 1" KeyPath =" yes" />
74+ <RegistryValue Root =" HKCU" Key =" Software\\ {{{product_name}}}" Name =" installed" Type =" integer" Value =" 1" KeyPath =" yes" />
7575 </Component >
7676 </Directory >
7777 <Directory Id =" $(var.PlatformProgramFilesFolder)" Name =" PFiles" >
115115 On =" uninstall" />
116116
117117 <RegistryValue Root =" HKCR"
118- Key =" Software\{{{manufacturer}}}\{{{product_name}}}"
118+ Key =" Software\\ {{{manufacturer}}}\ \{{{product_name}}}"
119119 Name =" installed"
120120 Type =" integer"
121121 Value =" 1"
134134 <ShortcutProperty Key =" System.AppUserModel.ID" Value =" {{{manufacturer}}}" />
135135 </Shortcut >
136136 <RemoveFolder Id =" ApplicationProgramsFolder" On =" uninstall" />
137- <RegistryValue Root =" HKCU" Key =" Software\{{{manufacturer}}}\{{{product_name}}}" Name =" installed" Type =" integer" Value =" 1" KeyPath =" yes" />
137+ <RegistryValue Root =" HKCU" Key =" Software\\ {{{manufacturer}}}\ \{{{product_name}}}" Name =" installed" Type =" integer" Value =" 1" KeyPath =" yes" />
138138 </Component >
139139 </DirectoryRef >
140140
You can’t perform that action at this time.
0 commit comments