fix: 补全新增 command 的 Tauri 权限
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled

This commit is contained in:
AxTps committed 2026-10-02 10:58:11 +08:00
1 parent e6f9987694
commit fbde37f5a0
1 file changed
+16
+16
View File
@@ -509,6 +509,20 @@ fn main() {
"instance_edit_icon",
"instance_export_mrpack",
"instance_get_pack_export_candidates",
"instance_list_screenshots",
"instance_list_all_screenshots",
"instance_list_synced_screenshots",
"instance_save_edited_screenshot",
"instance_list_screenshot_groups",
"instance_create_screenshot_group",
"instance_rename_screenshot_group",
"instance_delete_screenshot_group",
"instance_set_screenshot_group_memberships",
"instance_import_screenshot_groups",
"instance_delete_screenshots",
"instance_export_screenshots",
"instance_move_screenshots",
"instance_open_screenshot",
])
.default_permission(
DefaultPermissionRule::AllowAllCommands,
@@ -525,6 +539,7 @@ fn main() {
"proxy_get",
"proxy_set",
"proxy_test",
"set_ui_scale",
])
.default_permission(
DefaultPermissionRule::AllowAllCommands,
@@ -670,6 +685,7 @@ fn main() {
"file_save_as",
"file_read_dragged_file",
"screenshot_thumbnail",
"instance_icon_thumbnail",
"studio_read_text",
"studio_read_binary",
"studio_write_binary",