Generate connected library Tauri permissions
This commit is contained in:
@@ -50,6 +50,22 @@ fn main() {
|
|||||||
DefaultPermissionRule::AllowAllCommands,
|
DefaultPermissionRule::AllowAllCommands,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
.plugin(
|
||||||
|
"connected-library",
|
||||||
|
InlinedPlugin::new()
|
||||||
|
.commands(&[
|
||||||
|
"connected_library_list",
|
||||||
|
"connected_library_connect",
|
||||||
|
"connected_library_remove",
|
||||||
|
"connected_library_set_auto_update",
|
||||||
|
"connected_library_check",
|
||||||
|
"connected_library_check_all",
|
||||||
|
"connected_library_install",
|
||||||
|
])
|
||||||
|
.default_permission(
|
||||||
|
DefaultPermissionRule::AllowAllCommands,
|
||||||
|
),
|
||||||
|
)
|
||||||
.plugin(
|
.plugin(
|
||||||
"import",
|
"import",
|
||||||
InlinedPlugin::new()
|
InlinedPlugin::new()
|
||||||
|
|||||||
Reference in New Issue
Block a user