[desktop] switch to json5 for tauri config

This commit is contained in:
Vladimir Stoilov 2024-05-17 10:41:01 +03:00
parent e964385f83
commit ff488351e4
No known key found for this signature in database
GPG key ID: 2F190B67A43A81AF
3 changed files with 16 additions and 2 deletions

View file

@ -16,7 +16,7 @@ tauri-build = { version = "2.0.0-beta.13", features = [] }
[dependencies]
# Tauri
tauri = { version = "2.0.0-beta.16", features = ["tray-icon", "image-png"] }
tauri = { version = "2.0.0-beta.16", features = ["tray-icon", "image-png", "config-json5"] }
tauri-plugin-shell = "2.0.0-beta"
tauri-plugin-dialog = "2.0.0-beta"
tauri-plugin-clipboard-manager = "2.0.0-beta"

View file

@ -1693,6 +1693,13 @@
"window:allow-current-monitor"
]
},
{
"description": "window:allow-cursor-position -> Enables the cursor_position command without any pre-configured scope.",
"type": "string",
"enum": [
"window:allow-cursor-position"
]
},
{
"description": "window:allow-destroy -> Enables the destroy command without any pre-configured scope.",
"type": "string",
@ -2120,6 +2127,13 @@
"window:deny-current-monitor"
]
},
{
"description": "window:deny-cursor-position -> Denies the cursor_position command without any pre-configured scope.",
"type": "string",
"enum": [
"window:deny-cursor-position"
]
},
{
"description": "window:deny-destroy -> Denies the destroy command without any pre-configured scope.",
"type": "string",

View file

@ -35,7 +35,7 @@
},
"productName": "Portmaster",
"version": "0.1.0",
"identifier": "io.safing.portmaster",
"identifier": "io.safing.portmaster", // this is added as a property to the shortcut on windows (ApplicationUserModelID). Used for notifications.
"app": {
"withGlobalTauri": true,
"security": {