There was an error while loading. Please reload this page.
1 parent baca704 commit ae0fe47Copy full SHA for ae0fe47
2 files changed
.changes/fix-tauri-build-license-field.md
@@ -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
@@ -2300,7 +2300,7 @@ mod build {
2300
let long_description = quote!(None);
2301
let external_bin = opt_vec_lit(self.external_bin.as_ref(), str_lit);
2302
let windows = &self.windows;
2303
- let license = opt_lit(self.license.as_ref());
+ let license = opt_str_lit(self.license.as_ref());
2304
let license_file = opt_lit(self.license_file.as_ref().map(path_buf_lit).as_ref());
2305
let linux = quote!(Default::default());
2306
let macos = quote!(Default::default());
0 commit comments