File tree 3 files changed +9
-10
lines changed
tooling/bundler/src/bundle
3 files changed +9
-10
lines changed 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::{
8
8
} ;
9
9
10
10
/// Directory options.
11
- #[ derive( Clone ) ]
11
+ #[ derive( Default , Clone ) ]
12
12
pub struct DirOpts {
13
13
pub depth : u64 ,
14
14
}
@@ -51,12 +51,6 @@ impl Default for Options {
51
51
}
52
52
}
53
53
54
- impl Default for DirOpts {
55
- fn default ( ) -> DirOpts {
56
- DirOpts { depth : 0 }
57
- }
58
- }
59
-
60
54
impl Default for FileOpts {
61
55
fn default ( ) -> FileOpts {
62
56
FileOpts {
Original file line number Diff line number Diff line change 71
71
<Component Id =" ApplicationShortcutDesktop" Guid =" *" >
72
72
<Shortcut Id =" ApplicationDesktopShortcut" Name =" {{{product_name}}}" Description =" Runs {{{product_name}}}" Target =" [!Path]" WorkingDirectory =" INSTALLDIR" />
73
73
<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" />
75
75
</Component >
76
76
</Directory >
77
77
<Directory Id =" $(var.PlatformProgramFilesFolder)" Name =" PFiles" >
115
115
On =" uninstall" />
116
116
117
117
<RegistryValue Root =" HKCR"
118
- Key =" Software\{{{manufacturer}}}\{{{product_name}}}"
118
+ Key =" Software\\ {{{manufacturer}}}\ \{{{product_name}}}"
119
119
Name =" installed"
120
120
Type =" integer"
121
121
Value =" 1"
134
134
<ShortcutProperty Key =" System.AppUserModel.ID" Value =" {{{manufacturer}}}" />
135
135
</Shortcut >
136
136
<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" />
138
138
</Component >
139
139
</DirectoryRef >
140
140
You can’t perform that action at this time.
0 commit comments