There was an error while loading. Please reload this page.
1 parent f2e4c9d commit 19fb5f0Copy full SHA for 19fb5f0
2 files changed
.changes/schema_str.md
@@ -0,0 +1,5 @@
1
+---
2
+'tauri-build': 'patch:bug'
3
4
+
5
+Fix generating invalid schema files.
core/tauri-build/src/acl.rs
@@ -181,7 +181,7 @@ pub fn generate_schema(
181
182
let schema_path = out_dir.join(format!("{target}-{CAPABILITIES_SCHEMA_FILE_NAME}"));
183
if schema_str != read_to_string(&schema_path).unwrap_or_default() {
184
- write(&schema_path, "{schema_str}")?;
+ write(&schema_path, schema_str)?;
185
186
copy(
187
schema_path,
0 commit comments