Skip to content

Commit ae0fe47

Browse files
authored
fix(core): Compile error when bundle.license is set (#8774)
* fix(core): Compile error when bundle.license is set * wrong package
1 parent baca704 commit ae0fe47

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-utils": patch:bug
3+
---
4+
5+
Fix compile error when `tauri.conf.json` had `bundle > license` set.

‎core/tauri-utils/src/config.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2300,7 +2300,7 @@ mod build {
23002300
let long_description = quote!(None);
23012301
let external_bin = opt_vec_lit(self.external_bin.as_ref(), str_lit);
23022302
let windows = &self.windows;
2303-
let license = opt_lit(self.license.as_ref());
2303+
let license = opt_str_lit(self.license.as_ref());
23042304
let license_file = opt_lit(self.license_file.as_ref().map(path_buf_lit).as_ref());
23052305
let linux = quote!(Default::default());
23062306
let macos = quote!(Default::default());

0 commit comments

Comments
 (0)