mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
fix(core): Compile error when bundle.license is set (#8774)
* fix(core): Compile error when bundle.license is set * wrong package
This commit is contained in:
parent
baca704d4b
commit
ae0fe47c4c
5
.changes/fix-tauri-build-license-field.md
Normal file
5
.changes/fix-tauri-build-license-field.md
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"tauri-utils": patch:bug
|
||||||
|
---
|
||||||
|
|
||||||
|
Fix compile error when `tauri.conf.json` had `bundle > license` set.
|
@ -2300,7 +2300,7 @@ mod build {
|
|||||||
let long_description = quote!(None);
|
let long_description = quote!(None);
|
||||||
let external_bin = opt_vec_lit(self.external_bin.as_ref(), str_lit);
|
let external_bin = opt_vec_lit(self.external_bin.as_ref(), str_lit);
|
||||||
let windows = &self.windows;
|
let windows = &self.windows;
|
||||||
let license = opt_lit(self.license.as_ref());
|
let license = opt_str_lit(self.license.as_ref());
|
||||||
let license_file = opt_lit(self.license_file.as_ref().map(path_buf_lit).as_ref());
|
let license_file = opt_lit(self.license_file.as_ref().map(path_buf_lit).as_ref());
|
||||||
let linux = quote!(Default::default());
|
let linux = quote!(Default::default());
|
||||||
let macos = quote!(Default::default());
|
let macos = quote!(Default::default());
|
||||||
|
Loading…
Reference in New Issue
Block a user