Skip to content

Commit

Permalink
fix(core): Compile error when bundle.license is set (tauri-apps#8774)
Browse files Browse the repository at this point in the history
* fix(core): Compile error when bundle.license is set

* wrong package
  • Loading branch information
FabianLars committed Feb 5, 2024
1 parent baca704 commit ae0fe47
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changes/fix-tauri-build-license-field.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"tauri-utils": patch:bug
---

Fix compile error when `tauri.conf.json` had `bundle > license` set.
2 changes: 1 addition & 1 deletion core/tauri-utils/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2300,7 +2300,7 @@ mod build {
let long_description = quote!(None);
let external_bin = opt_vec_lit(self.external_bin.as_ref(), str_lit);
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 linux = quote!(Default::default());
let macos = quote!(Default::default());
Expand Down

0 comments on commit ae0fe47

Please sign in to comment.