From d09a782fde9cf088140d7ea922f51eed5c827526 Mon Sep 17 00:00:00 2001 From: KiriAky 107 Date: Tue, 15 Sep 2026 01:22:17 +0800 Subject: [PATCH] =?UTF-8?q?fix(sync):=20=E5=85=81=E8=AE=B8=E6=9B=B4?= =?UTF-8?q?=E6=96=B0=E5=8F=AF=E9=80=89=E5=90=8C=E6=AD=A5=E8=8C=83=E5=9B=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src-tauri/build.rs | 1 + .../permissions/autogenerated/sync_set_scope.toml | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 frontend/src-tauri/permissions/autogenerated/sync_set_scope.toml diff --git a/frontend/src-tauri/build.rs b/frontend/src-tauri/build.rs index bde0b03..75a9897 100644 --- a/frontend/src-tauri/build.rs +++ b/frontend/src-tauri/build.rs @@ -35,6 +35,7 @@ fn main() { "sync_unbind", "sync_pause", "sync_status", + "sync_set_scope", "sync_resolve", "sync_logout", "sync_run", diff --git a/frontend/src-tauri/permissions/autogenerated/sync_set_scope.toml b/frontend/src-tauri/permissions/autogenerated/sync_set_scope.toml new file mode 100644 index 0000000..fdc75ea --- /dev/null +++ b/frontend/src-tauri/permissions/autogenerated/sync_set_scope.toml @@ -0,0 +1,11 @@ +# Automatically generated - DO NOT EDIT! + +[[permission]] +identifier = "allow-sync-set-scope" +description = "Enables the sync_set_scope command without any pre-configured scope." +commands.allow = ["sync_set_scope"] + +[[permission]] +identifier = "deny-sync-set-scope" +description = "Denies the sync_set_scope command without any pre-configured scope." +commands.deny = ["sync_set_scope"]