fix(cli): wrong metadata for crate versions (#9022)

This commit is contained in:
Lucas Fernandes Nogueira 2024-02-28 13:48:14 -03:00 committed by GitHub
parent b658ded614
commit cb92cfd6a6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
10 changed files with 267 additions and 1045 deletions

View File

@ -1,46 +1,13 @@
# Permissions
## allow-app-hide
Enables the app_hide command without any pre-configured scope.
## deny-app-hide
Denies the app_hide command without any pre-configured scope.
## allow-app-show
Enables the app_show command without any pre-configured scope.
## deny-app-show
Denies the app_show command without any pre-configured scope.
## allow-name
Enables the name command without any pre-configured scope.
## deny-name
Denies the name command without any pre-configured scope.
## allow-tauri-version
Enables the tauri_version command without any pre-configured scope.
## deny-tauri-version
Denies the tauri_version command without any pre-configured scope.
## allow-version
Enables the version command without any pre-configured scope.
## deny-version
Denies the version command without any pre-configured scope.
## default
Default permissions for the plugin.
| Permission | Description |
|------|-----|
|`allow-app-hide`|Enables the app_hide command without any pre-configured scope.|
|`deny-app-hide`|Denies the app_hide command without any pre-configured scope.|
|`allow-app-show`|Enables the app_show command without any pre-configured scope.|
|`deny-app-show`|Denies the app_show command without any pre-configured scope.|
|`allow-name`|Enables the name command without any pre-configured scope.|
|`deny-name`|Denies the name command without any pre-configured scope.|
|`allow-tauri-version`|Enables the tauri_version command without any pre-configured scope.|
|`deny-tauri-version`|Denies the tauri_version command without any pre-configured scope.|
|`allow-version`|Enables the version command without any pre-configured scope.|
|`deny-version`|Denies the version command without any pre-configured scope.|
|`default`|Default permissions for the plugin.|

View File

@ -1,38 +1,11 @@
# Permissions
## allow-emit
Enables the emit command without any pre-configured scope.
## deny-emit
Denies the emit command without any pre-configured scope.
## allow-emit-to
Enables the emit_to command without any pre-configured scope.
## deny-emit-to
Denies the emit_to command without any pre-configured scope.
## allow-listen
Enables the listen command without any pre-configured scope.
## deny-listen
Denies the listen command without any pre-configured scope.
## allow-unlisten
Enables the unlisten command without any pre-configured scope.
## deny-unlisten
Denies the unlisten command without any pre-configured scope.
## default
Default permissions for the plugin.
| Permission | Description |
|------|-----|
|`allow-emit`|Enables the emit command without any pre-configured scope.|
|`deny-emit`|Denies the emit command without any pre-configured scope.|
|`allow-emit-to`|Enables the emit_to command without any pre-configured scope.|
|`deny-emit-to`|Denies the emit_to command without any pre-configured scope.|
|`allow-listen`|Enables the listen command without any pre-configured scope.|
|`deny-listen`|Denies the listen command without any pre-configured scope.|
|`allow-unlisten`|Enables the unlisten command without any pre-configured scope.|
|`deny-unlisten`|Denies the unlisten command without any pre-configured scope.|
|`default`|Default permissions for the plugin.|

View File

@ -1,182 +1,47 @@
# Permissions
## allow-append
Enables the append command without any pre-configured scope.
## deny-append
Denies the append command without any pre-configured scope.
## allow-create-default
Enables the create_default command without any pre-configured scope.
## deny-create-default
Denies the create_default command without any pre-configured scope.
## allow-get
Enables the get command without any pre-configured scope.
## deny-get
Denies the get command without any pre-configured scope.
## allow-insert
Enables the insert command without any pre-configured scope.
## deny-insert
Denies the insert command without any pre-configured scope.
## allow-is-checked
Enables the is_checked command without any pre-configured scope.
## deny-is-checked
Denies the is_checked command without any pre-configured scope.
## allow-is-enabled
Enables the is_enabled command without any pre-configured scope.
## deny-is-enabled
Denies the is_enabled command without any pre-configured scope.
## allow-items
Enables the items command without any pre-configured scope.
## deny-items
Denies the items command without any pre-configured scope.
## allow-new
Enables the new command without any pre-configured scope.
## deny-new
Denies the new command without any pre-configured scope.
## allow-popup
Enables the popup command without any pre-configured scope.
## deny-popup
Denies the popup command without any pre-configured scope.
## allow-prepend
Enables the prepend command without any pre-configured scope.
## deny-prepend
Denies the prepend command without any pre-configured scope.
## allow-remove
Enables the remove command without any pre-configured scope.
## deny-remove
Denies the remove command without any pre-configured scope.
## allow-remove-at
Enables the remove_at command without any pre-configured scope.
## deny-remove-at
Denies the remove_at command without any pre-configured scope.
## allow-set-accelerator
Enables the set_accelerator command without any pre-configured scope.
## deny-set-accelerator
Denies the set_accelerator command without any pre-configured scope.
## allow-set-as-app-menu
Enables the set_as_app_menu command without any pre-configured scope.
## deny-set-as-app-menu
Denies the set_as_app_menu command without any pre-configured scope.
## allow-set-as-help-menu-for-nsapp
Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.
## deny-set-as-help-menu-for-nsapp
Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.
## allow-set-as-window-menu
Enables the set_as_window_menu command without any pre-configured scope.
## deny-set-as-window-menu
Denies the set_as_window_menu command without any pre-configured scope.
## allow-set-as-windows-menu-for-nsapp
Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.
## deny-set-as-windows-menu-for-nsapp
Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.
## allow-set-checked
Enables the set_checked command without any pre-configured scope.
## deny-set-checked
Denies the set_checked command without any pre-configured scope.
## allow-set-enabled
Enables the set_enabled command without any pre-configured scope.
## deny-set-enabled
Denies the set_enabled command without any pre-configured scope.
## allow-set-icon
Enables the set_icon command without any pre-configured scope.
## deny-set-icon
Denies the set_icon command without any pre-configured scope.
## allow-set-text
Enables the set_text command without any pre-configured scope.
## deny-set-text
Denies the set_text command without any pre-configured scope.
## allow-text
Enables the text command without any pre-configured scope.
## deny-text
Denies the text command without any pre-configured scope.
## default
Default permissions for the plugin.
| Permission | Description |
|------|-----|
|`allow-append`|Enables the append command without any pre-configured scope.|
|`deny-append`|Denies the append command without any pre-configured scope.|
|`allow-create-default`|Enables the create_default command without any pre-configured scope.|
|`deny-create-default`|Denies the create_default command without any pre-configured scope.|
|`allow-get`|Enables the get command without any pre-configured scope.|
|`deny-get`|Denies the get command without any pre-configured scope.|
|`allow-insert`|Enables the insert command without any pre-configured scope.|
|`deny-insert`|Denies the insert command without any pre-configured scope.|
|`allow-is-checked`|Enables the is_checked command without any pre-configured scope.|
|`deny-is-checked`|Denies the is_checked command without any pre-configured scope.|
|`allow-is-enabled`|Enables the is_enabled command without any pre-configured scope.|
|`deny-is-enabled`|Denies the is_enabled command without any pre-configured scope.|
|`allow-items`|Enables the items command without any pre-configured scope.|
|`deny-items`|Denies the items command without any pre-configured scope.|
|`allow-new`|Enables the new command without any pre-configured scope.|
|`deny-new`|Denies the new command without any pre-configured scope.|
|`allow-popup`|Enables the popup command without any pre-configured scope.|
|`deny-popup`|Denies the popup command without any pre-configured scope.|
|`allow-prepend`|Enables the prepend command without any pre-configured scope.|
|`deny-prepend`|Denies the prepend command without any pre-configured scope.|
|`allow-remove`|Enables the remove command without any pre-configured scope.|
|`deny-remove`|Denies the remove command without any pre-configured scope.|
|`allow-remove-at`|Enables the remove_at command without any pre-configured scope.|
|`deny-remove-at`|Denies the remove_at command without any pre-configured scope.|
|`allow-set-accelerator`|Enables the set_accelerator command without any pre-configured scope.|
|`deny-set-accelerator`|Denies the set_accelerator command without any pre-configured scope.|
|`allow-set-as-app-menu`|Enables the set_as_app_menu command without any pre-configured scope.|
|`deny-set-as-app-menu`|Denies the set_as_app_menu command without any pre-configured scope.|
|`allow-set-as-help-menu-for-nsapp`|Enables the set_as_help_menu_for_nsapp command without any pre-configured scope.|
|`deny-set-as-help-menu-for-nsapp`|Denies the set_as_help_menu_for_nsapp command without any pre-configured scope.|
|`allow-set-as-window-menu`|Enables the set_as_window_menu command without any pre-configured scope.|
|`deny-set-as-window-menu`|Denies the set_as_window_menu command without any pre-configured scope.|
|`allow-set-as-windows-menu-for-nsapp`|Enables the set_as_windows_menu_for_nsapp command without any pre-configured scope.|
|`deny-set-as-windows-menu-for-nsapp`|Denies the set_as_windows_menu_for_nsapp command without any pre-configured scope.|
|`allow-set-checked`|Enables the set_checked command without any pre-configured scope.|
|`deny-set-checked`|Denies the set_checked command without any pre-configured scope.|
|`allow-set-enabled`|Enables the set_enabled command without any pre-configured scope.|
|`deny-set-enabled`|Denies the set_enabled command without any pre-configured scope.|
|`allow-set-icon`|Enables the set_icon command without any pre-configured scope.|
|`deny-set-icon`|Denies the set_icon command without any pre-configured scope.|
|`allow-set-text`|Enables the set_text command without any pre-configured scope.|
|`deny-set-text`|Denies the set_text command without any pre-configured scope.|
|`allow-text`|Enables the text command without any pre-configured scope.|
|`deny-text`|Denies the text command without any pre-configured scope.|
|`default`|Default permissions for the plugin.|

View File

@ -1,70 +1,19 @@
# Permissions
## allow-basename
Enables the basename command without any pre-configured scope.
## deny-basename
Denies the basename command without any pre-configured scope.
## allow-dirname
Enables the dirname command without any pre-configured scope.
## deny-dirname
Denies the dirname command without any pre-configured scope.
## allow-extname
Enables the extname command without any pre-configured scope.
## deny-extname
Denies the extname command without any pre-configured scope.
## allow-is-absolute
Enables the is_absolute command without any pre-configured scope.
## deny-is-absolute
Denies the is_absolute command without any pre-configured scope.
## allow-join
Enables the join command without any pre-configured scope.
## deny-join
Denies the join command without any pre-configured scope.
## allow-normalize
Enables the normalize command without any pre-configured scope.
## deny-normalize
Denies the normalize command without any pre-configured scope.
## allow-resolve
Enables the resolve command without any pre-configured scope.
## deny-resolve
Denies the resolve command without any pre-configured scope.
## allow-resolve-directory
Enables the resolve_directory command without any pre-configured scope.
## deny-resolve-directory
Denies the resolve_directory command without any pre-configured scope.
## default
Default permissions for the plugin.
| Permission | Description |
|------|-----|
|`allow-basename`|Enables the basename command without any pre-configured scope.|
|`deny-basename`|Denies the basename command without any pre-configured scope.|
|`allow-dirname`|Enables the dirname command without any pre-configured scope.|
|`deny-dirname`|Denies the dirname command without any pre-configured scope.|
|`allow-extname`|Enables the extname command without any pre-configured scope.|
|`deny-extname`|Denies the extname command without any pre-configured scope.|
|`allow-is-absolute`|Enables the is_absolute command without any pre-configured scope.|
|`deny-is-absolute`|Denies the is_absolute command without any pre-configured scope.|
|`allow-join`|Enables the join command without any pre-configured scope.|
|`deny-join`|Denies the join command without any pre-configured scope.|
|`allow-normalize`|Enables the normalize command without any pre-configured scope.|
|`deny-normalize`|Denies the normalize command without any pre-configured scope.|
|`allow-resolve`|Enables the resolve command without any pre-configured scope.|
|`deny-resolve`|Denies the resolve command without any pre-configured scope.|
|`allow-resolve-directory`|Enables the resolve_directory command without any pre-configured scope.|
|`deny-resolve-directory`|Denies the resolve_directory command without any pre-configured scope.|
|`default`|Default permissions for the plugin.|

View File

@ -1,14 +1,5 @@
# Permissions
## allow-close
Enables the close command without any pre-configured scope.
## deny-close
Denies the close command without any pre-configured scope.
## default
Default permissions for the plugin.
| Permission | Description |
|------|-----|
|`allow-close`|Enables the close command without any pre-configured scope.|
|`deny-close`|Denies the close command without any pre-configured scope.|
|`default`|Default permissions for the plugin.|

View File

@ -1,78 +1,21 @@
# Permissions
## allow-new
Enables the new command without any pre-configured scope.
## deny-new
Denies the new command without any pre-configured scope.
## allow-set-icon
Enables the set_icon command without any pre-configured scope.
## deny-set-icon
Denies the set_icon command without any pre-configured scope.
## allow-set-icon-as-template
Enables the set_icon_as_template command without any pre-configured scope.
## deny-set-icon-as-template
Denies the set_icon_as_template command without any pre-configured scope.
## allow-set-menu
Enables the set_menu command without any pre-configured scope.
## deny-set-menu
Denies the set_menu command without any pre-configured scope.
## allow-set-show-menu-on-left-click
Enables the set_show_menu_on_left_click command without any pre-configured scope.
## deny-set-show-menu-on-left-click
Denies the set_show_menu_on_left_click command without any pre-configured scope.
## allow-set-temp-dir-path
Enables the set_temp_dir_path command without any pre-configured scope.
## deny-set-temp-dir-path
Denies the set_temp_dir_path command without any pre-configured scope.
## allow-set-title
Enables the set_title command without any pre-configured scope.
## deny-set-title
Denies the set_title command without any pre-configured scope.
## allow-set-tooltip
Enables the set_tooltip command without any pre-configured scope.
## deny-set-tooltip
Denies the set_tooltip command without any pre-configured scope.
## allow-set-visible
Enables the set_visible command without any pre-configured scope.
## deny-set-visible
Denies the set_visible command without any pre-configured scope.
## default
Default permissions for the plugin.
| Permission | Description |
|------|-----|
|`allow-new`|Enables the new command without any pre-configured scope.|
|`deny-new`|Denies the new command without any pre-configured scope.|
|`allow-set-icon`|Enables the set_icon command without any pre-configured scope.|
|`deny-set-icon`|Denies the set_icon command without any pre-configured scope.|
|`allow-set-icon-as-template`|Enables the set_icon_as_template command without any pre-configured scope.|
|`deny-set-icon-as-template`|Denies the set_icon_as_template command without any pre-configured scope.|
|`allow-set-menu`|Enables the set_menu command without any pre-configured scope.|
|`deny-set-menu`|Denies the set_menu command without any pre-configured scope.|
|`allow-set-show-menu-on-left-click`|Enables the set_show_menu_on_left_click command without any pre-configured scope.|
|`deny-set-show-menu-on-left-click`|Denies the set_show_menu_on_left_click command without any pre-configured scope.|
|`allow-set-temp-dir-path`|Enables the set_temp_dir_path command without any pre-configured scope.|
|`deny-set-temp-dir-path`|Denies the set_temp_dir_path command without any pre-configured scope.|
|`allow-set-title`|Enables the set_title command without any pre-configured scope.|
|`deny-set-title`|Denies the set_title command without any pre-configured scope.|
|`allow-set-tooltip`|Enables the set_tooltip command without any pre-configured scope.|
|`deny-set-tooltip`|Denies the set_tooltip command without any pre-configured scope.|
|`allow-set-visible`|Enables the set_visible command without any pre-configured scope.|
|`deny-set-visible`|Denies the set_visible command without any pre-configured scope.|
|`default`|Default permissions for the plugin.|

View File

@ -1,94 +1,25 @@
# Permissions
## allow-create-webview
Enables the create_webview command without any pre-configured scope.
## deny-create-webview
Denies the create_webview command without any pre-configured scope.
## allow-create-webview-window
Enables the create_webview_window command without any pre-configured scope.
## deny-create-webview-window
Denies the create_webview_window command without any pre-configured scope.
## allow-internal-toggle-devtools
Enables the internal_toggle_devtools command without any pre-configured scope.
## deny-internal-toggle-devtools
Denies the internal_toggle_devtools command without any pre-configured scope.
## allow-print
Enables the print command without any pre-configured scope.
## deny-print
Denies the print command without any pre-configured scope.
## allow-reparent
Enables the reparent command without any pre-configured scope.
## deny-reparent
Denies the reparent command without any pre-configured scope.
## allow-set-webview-focus
Enables the set_webview_focus command without any pre-configured scope.
## deny-set-webview-focus
Denies the set_webview_focus command without any pre-configured scope.
## allow-set-webview-position
Enables the set_webview_position command without any pre-configured scope.
## deny-set-webview-position
Denies the set_webview_position command without any pre-configured scope.
## allow-set-webview-size
Enables the set_webview_size command without any pre-configured scope.
## deny-set-webview-size
Denies the set_webview_size command without any pre-configured scope.
## allow-webview-close
Enables the webview_close command without any pre-configured scope.
## deny-webview-close
Denies the webview_close command without any pre-configured scope.
## allow-webview-position
Enables the webview_position command without any pre-configured scope.
## deny-webview-position
Denies the webview_position command without any pre-configured scope.
## allow-webview-size
Enables the webview_size command without any pre-configured scope.
## deny-webview-size
Denies the webview_size command without any pre-configured scope.
## default
Default permissions for the plugin.
| Permission | Description |
|------|-----|
|`allow-create-webview`|Enables the create_webview command without any pre-configured scope.|
|`deny-create-webview`|Denies the create_webview command without any pre-configured scope.|
|`allow-create-webview-window`|Enables the create_webview_window command without any pre-configured scope.|
|`deny-create-webview-window`|Denies the create_webview_window command without any pre-configured scope.|
|`allow-internal-toggle-devtools`|Enables the internal_toggle_devtools command without any pre-configured scope.|
|`deny-internal-toggle-devtools`|Denies the internal_toggle_devtools command without any pre-configured scope.|
|`allow-print`|Enables the print command without any pre-configured scope.|
|`deny-print`|Denies the print command without any pre-configured scope.|
|`allow-reparent`|Enables the reparent command without any pre-configured scope.|
|`deny-reparent`|Denies the reparent command without any pre-configured scope.|
|`allow-set-webview-focus`|Enables the set_webview_focus command without any pre-configured scope.|
|`deny-set-webview-focus`|Denies the set_webview_focus command without any pre-configured scope.|
|`allow-set-webview-position`|Enables the set_webview_position command without any pre-configured scope.|
|`deny-set-webview-position`|Denies the set_webview_position command without any pre-configured scope.|
|`allow-set-webview-size`|Enables the set_webview_size command without any pre-configured scope.|
|`deny-set-webview-size`|Denies the set_webview_size command without any pre-configured scope.|
|`allow-webview-close`|Enables the webview_close command without any pre-configured scope.|
|`deny-webview-close`|Denies the webview_close command without any pre-configured scope.|
|`allow-webview-position`|Enables the webview_position command without any pre-configured scope.|
|`deny-webview-position`|Denies the webview_position command without any pre-configured scope.|
|`allow-webview-size`|Enables the webview_size command without any pre-configured scope.|
|`deny-webview-size`|Denies the webview_size command without any pre-configured scope.|
|`default`|Default permissions for the plugin.|

View File

@ -1,486 +1,123 @@
# Permissions
## allow-available-monitors
Enables the available_monitors command without any pre-configured scope.
## deny-available-monitors
Denies the available_monitors command without any pre-configured scope.
## allow-center
Enables the center command without any pre-configured scope.
## deny-center
Denies the center command without any pre-configured scope.
## allow-close
Enables the close command without any pre-configured scope.
## deny-close
Denies the close command without any pre-configured scope.
## allow-create
Enables the create command without any pre-configured scope.
## deny-create
Denies the create command without any pre-configured scope.
## allow-current-monitor
Enables the current_monitor command without any pre-configured scope.
## deny-current-monitor
Denies the current_monitor command without any pre-configured scope.
## allow-destroy
Enables the destroy command without any pre-configured scope.
## deny-destroy
Denies the destroy command without any pre-configured scope.
## allow-hide
Enables the hide command without any pre-configured scope.
## deny-hide
Denies the hide command without any pre-configured scope.
## allow-inner-position
Enables the inner_position command without any pre-configured scope.
## deny-inner-position
Denies the inner_position command without any pre-configured scope.
## allow-inner-size
Enables the inner_size command without any pre-configured scope.
## deny-inner-size
Denies the inner_size command without any pre-configured scope.
## allow-internal-toggle-maximize
Enables the internal_toggle_maximize command without any pre-configured scope.
## deny-internal-toggle-maximize
Denies the internal_toggle_maximize command without any pre-configured scope.
## allow-is-closable
Enables the is_closable command without any pre-configured scope.
## deny-is-closable
Denies the is_closable command without any pre-configured scope.
## allow-is-decorated
Enables the is_decorated command without any pre-configured scope.
## deny-is-decorated
Denies the is_decorated command without any pre-configured scope.
## allow-is-focused
Enables the is_focused command without any pre-configured scope.
## deny-is-focused
Denies the is_focused command without any pre-configured scope.
## allow-is-fullscreen
Enables the is_fullscreen command without any pre-configured scope.
## deny-is-fullscreen
Denies the is_fullscreen command without any pre-configured scope.
## allow-is-maximizable
Enables the is_maximizable command without any pre-configured scope.
## deny-is-maximizable
Denies the is_maximizable command without any pre-configured scope.
## allow-is-maximized
Enables the is_maximized command without any pre-configured scope.
## deny-is-maximized
Denies the is_maximized command without any pre-configured scope.
## allow-is-minimizable
Enables the is_minimizable command without any pre-configured scope.
## deny-is-minimizable
Denies the is_minimizable command without any pre-configured scope.
## allow-is-minimized
Enables the is_minimized command without any pre-configured scope.
## deny-is-minimized
Denies the is_minimized command without any pre-configured scope.
## allow-is-resizable
Enables the is_resizable command without any pre-configured scope.
## deny-is-resizable
Denies the is_resizable command without any pre-configured scope.
## allow-is-visible
Enables the is_visible command without any pre-configured scope.
## deny-is-visible
Denies the is_visible command without any pre-configured scope.
## allow-maximize
Enables the maximize command without any pre-configured scope.
## deny-maximize
Denies the maximize command without any pre-configured scope.
## allow-minimize
Enables the minimize command without any pre-configured scope.
## deny-minimize
Denies the minimize command without any pre-configured scope.
## allow-outer-position
Enables the outer_position command without any pre-configured scope.
## deny-outer-position
Denies the outer_position command without any pre-configured scope.
## allow-outer-size
Enables the outer_size command without any pre-configured scope.
## deny-outer-size
Denies the outer_size command without any pre-configured scope.
## allow-primary-monitor
Enables the primary_monitor command without any pre-configured scope.
## deny-primary-monitor
Denies the primary_monitor command without any pre-configured scope.
## allow-request-user-attention
Enables the request_user_attention command without any pre-configured scope.
## deny-request-user-attention
Denies the request_user_attention command without any pre-configured scope.
## allow-scale-factor
Enables the scale_factor command without any pre-configured scope.
## deny-scale-factor
Denies the scale_factor command without any pre-configured scope.
## allow-set-always-on-bottom
Enables the set_always_on_bottom command without any pre-configured scope.
## deny-set-always-on-bottom
Denies the set_always_on_bottom command without any pre-configured scope.
## allow-set-always-on-top
Enables the set_always_on_top command without any pre-configured scope.
## deny-set-always-on-top
Denies the set_always_on_top command without any pre-configured scope.
## allow-set-closable
Enables the set_closable command without any pre-configured scope.
## deny-set-closable
Denies the set_closable command without any pre-configured scope.
## allow-set-content-protected
Enables the set_content_protected command without any pre-configured scope.
## deny-set-content-protected
Denies the set_content_protected command without any pre-configured scope.
## allow-set-cursor-grab
Enables the set_cursor_grab command without any pre-configured scope.
## deny-set-cursor-grab
Denies the set_cursor_grab command without any pre-configured scope.
## allow-set-cursor-icon
Enables the set_cursor_icon command without any pre-configured scope.
## deny-set-cursor-icon
Denies the set_cursor_icon command without any pre-configured scope.
## allow-set-cursor-position
Enables the set_cursor_position command without any pre-configured scope.
## deny-set-cursor-position
Denies the set_cursor_position command without any pre-configured scope.
## allow-set-cursor-visible
Enables the set_cursor_visible command without any pre-configured scope.
## deny-set-cursor-visible
Denies the set_cursor_visible command without any pre-configured scope.
## allow-set-decorations
Enables the set_decorations command without any pre-configured scope.
## deny-set-decorations
Denies the set_decorations command without any pre-configured scope.
## allow-set-effects
Enables the set_effects command without any pre-configured scope.
## deny-set-effects
Denies the set_effects command without any pre-configured scope.
## allow-set-focus
Enables the set_focus command without any pre-configured scope.
## deny-set-focus
Denies the set_focus command without any pre-configured scope.
## allow-set-fullscreen
Enables the set_fullscreen command without any pre-configured scope.
## deny-set-fullscreen
Denies the set_fullscreen command without any pre-configured scope.
## allow-set-icon
Enables the set_icon command without any pre-configured scope.
## deny-set-icon
Denies the set_icon command without any pre-configured scope.
## allow-set-ignore-cursor-events
Enables the set_ignore_cursor_events command without any pre-configured scope.
## deny-set-ignore-cursor-events
Denies the set_ignore_cursor_events command without any pre-configured scope.
## allow-set-max-size
Enables the set_max_size command without any pre-configured scope.
## deny-set-max-size
Denies the set_max_size command without any pre-configured scope.
## allow-set-maximizable
Enables the set_maximizable command without any pre-configured scope.
## deny-set-maximizable
Denies the set_maximizable command without any pre-configured scope.
## allow-set-min-size
Enables the set_min_size command without any pre-configured scope.
## deny-set-min-size
Denies the set_min_size command without any pre-configured scope.
## allow-set-minimizable
Enables the set_minimizable command without any pre-configured scope.
## deny-set-minimizable
Denies the set_minimizable command without any pre-configured scope.
## allow-set-position
Enables the set_position command without any pre-configured scope.
## deny-set-position
Denies the set_position command without any pre-configured scope.
## allow-set-progress-bar
Enables the set_progress_bar command without any pre-configured scope.
## deny-set-progress-bar
Denies the set_progress_bar command without any pre-configured scope.
## allow-set-resizable
Enables the set_resizable command without any pre-configured scope.
## deny-set-resizable
Denies the set_resizable command without any pre-configured scope.
## allow-set-shadow
Enables the set_shadow command without any pre-configured scope.
## deny-set-shadow
Denies the set_shadow command without any pre-configured scope.
## allow-set-size
Enables the set_size command without any pre-configured scope.
## deny-set-size
Denies the set_size command without any pre-configured scope.
## allow-set-skip-taskbar
Enables the set_skip_taskbar command without any pre-configured scope.
## deny-set-skip-taskbar
Denies the set_skip_taskbar command without any pre-configured scope.
## allow-set-title
Enables the set_title command without any pre-configured scope.
## deny-set-title
Denies the set_title command without any pre-configured scope.
## allow-set-visible-on-all-workspaces
Enables the set_visible_on_all_workspaces command without any pre-configured scope.
## deny-set-visible-on-all-workspaces
Denies the set_visible_on_all_workspaces command without any pre-configured scope.
## allow-show
Enables the show command without any pre-configured scope.
## deny-show
Denies the show command without any pre-configured scope.
## allow-start-dragging
Enables the start_dragging command without any pre-configured scope.
## deny-start-dragging
Denies the start_dragging command without any pre-configured scope.
## allow-theme
Enables the theme command without any pre-configured scope.
## deny-theme
Denies the theme command without any pre-configured scope.
## allow-title
Enables the title command without any pre-configured scope.
## deny-title
Denies the title command without any pre-configured scope.
## allow-toggle-maximize
Enables the toggle_maximize command without any pre-configured scope.
## deny-toggle-maximize
Denies the toggle_maximize command without any pre-configured scope.
## allow-unmaximize
Enables the unmaximize command without any pre-configured scope.
## deny-unmaximize
Denies the unmaximize command without any pre-configured scope.
## allow-unminimize
Enables the unminimize command without any pre-configured scope.
## deny-unminimize
Denies the unminimize command without any pre-configured scope.
## default
Default permissions for the plugin.
| Permission | Description |
|------|-----|
|`allow-available-monitors`|Enables the available_monitors command without any pre-configured scope.|
|`deny-available-monitors`|Denies the available_monitors command without any pre-configured scope.|
|`allow-center`|Enables the center command without any pre-configured scope.|
|`deny-center`|Denies the center command without any pre-configured scope.|
|`allow-close`|Enables the close command without any pre-configured scope.|
|`deny-close`|Denies the close command without any pre-configured scope.|
|`allow-create`|Enables the create command without any pre-configured scope.|
|`deny-create`|Denies the create command without any pre-configured scope.|
|`allow-current-monitor`|Enables the current_monitor command without any pre-configured scope.|
|`deny-current-monitor`|Denies the current_monitor command without any pre-configured scope.|
|`allow-destroy`|Enables the destroy command without any pre-configured scope.|
|`deny-destroy`|Denies the destroy command without any pre-configured scope.|
|`allow-hide`|Enables the hide command without any pre-configured scope.|
|`deny-hide`|Denies the hide command without any pre-configured scope.|
|`allow-inner-position`|Enables the inner_position command without any pre-configured scope.|
|`deny-inner-position`|Denies the inner_position command without any pre-configured scope.|
|`allow-inner-size`|Enables the inner_size command without any pre-configured scope.|
|`deny-inner-size`|Denies the inner_size command without any pre-configured scope.|
|`allow-internal-toggle-maximize`|Enables the internal_toggle_maximize command without any pre-configured scope.|
|`deny-internal-toggle-maximize`|Denies the internal_toggle_maximize command without any pre-configured scope.|
|`allow-is-closable`|Enables the is_closable command without any pre-configured scope.|
|`deny-is-closable`|Denies the is_closable command without any pre-configured scope.|
|`allow-is-decorated`|Enables the is_decorated command without any pre-configured scope.|
|`deny-is-decorated`|Denies the is_decorated command without any pre-configured scope.|
|`allow-is-focused`|Enables the is_focused command without any pre-configured scope.|
|`deny-is-focused`|Denies the is_focused command without any pre-configured scope.|
|`allow-is-fullscreen`|Enables the is_fullscreen command without any pre-configured scope.|
|`deny-is-fullscreen`|Denies the is_fullscreen command without any pre-configured scope.|
|`allow-is-maximizable`|Enables the is_maximizable command without any pre-configured scope.|
|`deny-is-maximizable`|Denies the is_maximizable command without any pre-configured scope.|
|`allow-is-maximized`|Enables the is_maximized command without any pre-configured scope.|
|`deny-is-maximized`|Denies the is_maximized command without any pre-configured scope.|
|`allow-is-minimizable`|Enables the is_minimizable command without any pre-configured scope.|
|`deny-is-minimizable`|Denies the is_minimizable command without any pre-configured scope.|
|`allow-is-minimized`|Enables the is_minimized command without any pre-configured scope.|
|`deny-is-minimized`|Denies the is_minimized command without any pre-configured scope.|
|`allow-is-resizable`|Enables the is_resizable command without any pre-configured scope.|
|`deny-is-resizable`|Denies the is_resizable command without any pre-configured scope.|
|`allow-is-visible`|Enables the is_visible command without any pre-configured scope.|
|`deny-is-visible`|Denies the is_visible command without any pre-configured scope.|
|`allow-maximize`|Enables the maximize command without any pre-configured scope.|
|`deny-maximize`|Denies the maximize command without any pre-configured scope.|
|`allow-minimize`|Enables the minimize command without any pre-configured scope.|
|`deny-minimize`|Denies the minimize command without any pre-configured scope.|
|`allow-outer-position`|Enables the outer_position command without any pre-configured scope.|
|`deny-outer-position`|Denies the outer_position command without any pre-configured scope.|
|`allow-outer-size`|Enables the outer_size command without any pre-configured scope.|
|`deny-outer-size`|Denies the outer_size command without any pre-configured scope.|
|`allow-primary-monitor`|Enables the primary_monitor command without any pre-configured scope.|
|`deny-primary-monitor`|Denies the primary_monitor command without any pre-configured scope.|
|`allow-request-user-attention`|Enables the request_user_attention command without any pre-configured scope.|
|`deny-request-user-attention`|Denies the request_user_attention command without any pre-configured scope.|
|`allow-scale-factor`|Enables the scale_factor command without any pre-configured scope.|
|`deny-scale-factor`|Denies the scale_factor command without any pre-configured scope.|
|`allow-set-always-on-bottom`|Enables the set_always_on_bottom command without any pre-configured scope.|
|`deny-set-always-on-bottom`|Denies the set_always_on_bottom command without any pre-configured scope.|
|`allow-set-always-on-top`|Enables the set_always_on_top command without any pre-configured scope.|
|`deny-set-always-on-top`|Denies the set_always_on_top command without any pre-configured scope.|
|`allow-set-closable`|Enables the set_closable command without any pre-configured scope.|
|`deny-set-closable`|Denies the set_closable command without any pre-configured scope.|
|`allow-set-content-protected`|Enables the set_content_protected command without any pre-configured scope.|
|`deny-set-content-protected`|Denies the set_content_protected command without any pre-configured scope.|
|`allow-set-cursor-grab`|Enables the set_cursor_grab command without any pre-configured scope.|
|`deny-set-cursor-grab`|Denies the set_cursor_grab command without any pre-configured scope.|
|`allow-set-cursor-icon`|Enables the set_cursor_icon command without any pre-configured scope.|
|`deny-set-cursor-icon`|Denies the set_cursor_icon command without any pre-configured scope.|
|`allow-set-cursor-position`|Enables the set_cursor_position command without any pre-configured scope.|
|`deny-set-cursor-position`|Denies the set_cursor_position command without any pre-configured scope.|
|`allow-set-cursor-visible`|Enables the set_cursor_visible command without any pre-configured scope.|
|`deny-set-cursor-visible`|Denies the set_cursor_visible command without any pre-configured scope.|
|`allow-set-decorations`|Enables the set_decorations command without any pre-configured scope.|
|`deny-set-decorations`|Denies the set_decorations command without any pre-configured scope.|
|`allow-set-effects`|Enables the set_effects command without any pre-configured scope.|
|`deny-set-effects`|Denies the set_effects command without any pre-configured scope.|
|`allow-set-focus`|Enables the set_focus command without any pre-configured scope.|
|`deny-set-focus`|Denies the set_focus command without any pre-configured scope.|
|`allow-set-fullscreen`|Enables the set_fullscreen command without any pre-configured scope.|
|`deny-set-fullscreen`|Denies the set_fullscreen command without any pre-configured scope.|
|`allow-set-icon`|Enables the set_icon command without any pre-configured scope.|
|`deny-set-icon`|Denies the set_icon command without any pre-configured scope.|
|`allow-set-ignore-cursor-events`|Enables the set_ignore_cursor_events command without any pre-configured scope.|
|`deny-set-ignore-cursor-events`|Denies the set_ignore_cursor_events command without any pre-configured scope.|
|`allow-set-max-size`|Enables the set_max_size command without any pre-configured scope.|
|`deny-set-max-size`|Denies the set_max_size command without any pre-configured scope.|
|`allow-set-maximizable`|Enables the set_maximizable command without any pre-configured scope.|
|`deny-set-maximizable`|Denies the set_maximizable command without any pre-configured scope.|
|`allow-set-min-size`|Enables the set_min_size command without any pre-configured scope.|
|`deny-set-min-size`|Denies the set_min_size command without any pre-configured scope.|
|`allow-set-minimizable`|Enables the set_minimizable command without any pre-configured scope.|
|`deny-set-minimizable`|Denies the set_minimizable command without any pre-configured scope.|
|`allow-set-position`|Enables the set_position command without any pre-configured scope.|
|`deny-set-position`|Denies the set_position command without any pre-configured scope.|
|`allow-set-progress-bar`|Enables the set_progress_bar command without any pre-configured scope.|
|`deny-set-progress-bar`|Denies the set_progress_bar command without any pre-configured scope.|
|`allow-set-resizable`|Enables the set_resizable command without any pre-configured scope.|
|`deny-set-resizable`|Denies the set_resizable command without any pre-configured scope.|
|`allow-set-shadow`|Enables the set_shadow command without any pre-configured scope.|
|`deny-set-shadow`|Denies the set_shadow command without any pre-configured scope.|
|`allow-set-size`|Enables the set_size command without any pre-configured scope.|
|`deny-set-size`|Denies the set_size command without any pre-configured scope.|
|`allow-set-skip-taskbar`|Enables the set_skip_taskbar command without any pre-configured scope.|
|`deny-set-skip-taskbar`|Denies the set_skip_taskbar command without any pre-configured scope.|
|`allow-set-title`|Enables the set_title command without any pre-configured scope.|
|`deny-set-title`|Denies the set_title command without any pre-configured scope.|
|`allow-set-visible-on-all-workspaces`|Enables the set_visible_on_all_workspaces command without any pre-configured scope.|
|`deny-set-visible-on-all-workspaces`|Denies the set_visible_on_all_workspaces command without any pre-configured scope.|
|`allow-show`|Enables the show command without any pre-configured scope.|
|`deny-show`|Denies the show command without any pre-configured scope.|
|`allow-start-dragging`|Enables the start_dragging command without any pre-configured scope.|
|`deny-start-dragging`|Denies the start_dragging command without any pre-configured scope.|
|`allow-theme`|Enables the theme command without any pre-configured scope.|
|`deny-theme`|Denies the theme command without any pre-configured scope.|
|`allow-title`|Enables the title command without any pre-configured scope.|
|`deny-title`|Denies the title command without any pre-configured scope.|
|`allow-toggle-maximize`|Enables the toggle_maximize command without any pre-configured scope.|
|`deny-toggle-maximize`|Denies the toggle_maximize command without any pre-configured scope.|
|`allow-unmaximize`|Enables the unmaximize command without any pre-configured scope.|
|`deny-unmaximize`|Denies the unmaximize command without any pre-configured scope.|
|`allow-unminimize`|Enables the unminimize command without any pre-configured scope.|
|`deny-unminimize`|Denies the unminimize command without any pre-configured scope.|
|`default`|Default permissions for the plugin.|

View File

@ -1,9 +1,9 @@
{
"cli.js": {
"version": "2.0.0-beta.6",
"version": "2.0.0-beta.5",
"node": ">= 10.0.0"
},
"tauri": "2.0.0-beta.8",
"tauri-build": "2.0.0-beta.6",
"tauri": "2.0.0-beta.7",
"tauri-build": "2.0.0-beta.5",
"tauri-plugin": "2.0.0-beta.5"
}

View File

@ -39,40 +39,6 @@ fn version_metadata() -> Result<VersionMetadata> {
.map_err(Into::into)
}
#[cfg(not(debug_assertions))]
pub(crate) fn cli_current_version() -> Result<String> {
version_metadata().map(|meta| meta.js_cli.version)
}
#[cfg(not(debug_assertions))]
pub(crate) fn cli_upstream_version() -> Result<String> {
let upstream_metadata = match ureq::get(
"https://raw.githubusercontent.com/tauri-apps/tauri/dev/tooling/cli/metadata-v2.json",
)
.timeout(std::time::Duration::from_secs(3))
.call()
{
Ok(r) => r,
Err(ureq::Error::Status(code, _response)) => {
let message = format!("Unable to find updates at the moment. Code: {}", code);
return Err(anyhow::Error::msg(message));
}
Err(ureq::Error::Transport(transport)) => {
let message = format!(
"Unable to find updates at the moment. Error: {:?}",
transport.kind()
);
return Err(anyhow::Error::msg(message));
}
};
upstream_metadata
.into_string()
.and_then(|meta_str| Ok(serde_json::from_str::<VersionMetadata>(&meta_str)))
.and_then(|json| Ok(json.unwrap().js_cli.version))
.map_err(|e| anyhow::Error::new(e))
}
#[derive(Clone, Copy, Debug, PartialEq, Eq, PartialOrd, Ord, Default)]
pub enum Status {
Neutral = 0,