mirror of
https://github.com/tauri-apps/plugins-workspace.git
synced 2026-08-03 18:08:36 +02:00
[positioner] handleIconState in JS (#1822)
* [positioner] handleIconState in JS * update readme * fix change file version * fixes --------- Co-authored-by: Lucas Nogueira <lucas@tauri.app>
This commit is contained in:
co-authored by
Lucas Nogueira
parent
30bcf5dcc2
commit
2f7e32b5e0
@@ -0,0 +1,8 @@
|
||||
# Automatically generated - DO NOT EDIT!
|
||||
|
||||
"$schema" = "../../schemas/schema.json"
|
||||
|
||||
[[permission]]
|
||||
identifier = "allow-set-tray-icon-state"
|
||||
description = "Enables the set_tray_icon_state to handle events and set the TrayIcon state."
|
||||
commands.allow = ["set_tray_icon_state"]
|
||||
@@ -3,6 +3,7 @@
|
||||
Allows the move_window command
|
||||
|
||||
- `allow-move-window`
|
||||
- `set-tray-icon-state`
|
||||
|
||||
## Permission Table
|
||||
|
||||
@@ -36,6 +37,19 @@ Enables the move_window command without any pre-configured scope.
|
||||
|
||||
Denies the move_window command without any pre-configured scope.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td>
|
||||
|
||||
`positioner:allow-set-tray-icon-state`
|
||||
|
||||
</td>
|
||||
<td>
|
||||
|
||||
Enables the set_tray_icon_state to handle events and set the TrayIcon state.
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
"$schema" = "schemas/schema.json"
|
||||
[default]
|
||||
description = "Allows the move_window command"
|
||||
permissions = ["allow-move-window"]
|
||||
permissions = ["allow-move-window", "set-tray-icon-state"]
|
||||
|
||||
@@ -304,6 +304,11 @@
|
||||
"type": "string",
|
||||
"const": "deny-move-window"
|
||||
},
|
||||
{
|
||||
"description": "Enables the set_tray_icon_state to handle events and set the TrayIcon state.",
|
||||
"type": "string",
|
||||
"const": "allow-set-tray-icon-state"
|
||||
},
|
||||
{
|
||||
"description": "Allows the move_window command",
|
||||
"type": "string",
|
||||
|
||||
Reference in New Issue
Block a user