revert to draft07 schema

This commit is contained in:
FabianLars
2026-03-09 12:32:45 +01:00
parent 8d6a6d6d31
commit c6561ab6b4
31 changed files with 745 additions and 3982 deletions
+4 -1
View File
@@ -168,7 +168,10 @@ const COMMANDS: &[&str] = &["execute", "spawn", "stdin_write", "kill", "open"];
fn main() {
tauri_plugin::Builder::new(COMMANDS)
.global_api_script_path("./api-iife.js")
.global_scope_schema(schemars::schema_for!(ShellScopeEntry))
.global_scope_schema(
schemars::SchemaGenerator::new(schemars::generate::SchemaSettings::draft07())
.into_root_schema_for::<ShellScopeEntry>(),
)
.android_path("android")
.ios_path("ios")
.build();