diff --git a/Cargo.toml b/Cargo.toml index 576df88..ea00a25 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "tauri-plugin-theme" links = "tauri-plugin-theme" -version = "2.1.1" +version = "2.1.2" edition = "2021" license = "MIT" repository = "https://github.com/wyhaya/tauri-plugin-theme" @@ -10,10 +10,10 @@ keywords = ["tauri", "plugin", "theme"] readme = "README.md" [build-dependencies] -tauri-plugin = { version = "2.0.0-rc", features = ["build"] } +tauri-plugin = { version = "2.0", features = ["build"] } [dependencies] -tauri = { version = "2.0.0-rc" } +tauri = { version = "2.0" } serde = { version = "1.0", features = ["derive"] } [target."cfg(target_os = \"macos\")".dependencies] diff --git a/README.md b/README.md index 143c115..3782dea 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ https://github.com/wyhaya/tauri-plugin-theme/assets/23690145/2422ce95-418d-4f07- ## Install ```bash -cargo add tauri-plugin-theme@2.1.1 +cargo add tauri-plugin-theme@2.1.2 ``` ```rust diff --git a/permissions/autogenerated/reference.md b/permissions/autogenerated/reference.md index f182afa..b38a303 100644 --- a/permissions/autogenerated/reference.md +++ b/permissions/autogenerated/reference.md @@ -5,7 +5,7 @@ Allow all - `allow-set-theme` - `allow-get-theme` -## Permission Table +## Permission Table diff --git a/permissions/schemas/schema.json b/permissions/schemas/schema.json index c797fb3..7495c79 100644 --- a/permissions/schemas/schema.json +++ b/permissions/schemas/schema.json @@ -295,39 +295,29 @@ "type": "string", "oneOf": [ { - "description": "allow-get-theme -> Enables the get_theme command without any pre-configured scope.", + "description": "Enables the get_theme command without any pre-configured scope.", "type": "string", - "enum": [ - "allow-get-theme" - ] + "const": "allow-get-theme" }, { - "description": "deny-get-theme -> Denies the get_theme command without any pre-configured scope.", + "description": "Denies the get_theme command without any pre-configured scope.", "type": "string", - "enum": [ - "deny-get-theme" - ] + "const": "deny-get-theme" }, { - "description": "allow-set-theme -> Enables the set_theme command without any pre-configured scope.", + "description": "Enables the set_theme command without any pre-configured scope.", "type": "string", - "enum": [ - "allow-set-theme" - ] + "const": "allow-set-theme" }, { - "description": "deny-set-theme -> Denies the set_theme command without any pre-configured scope.", + "description": "Denies the set_theme command without any pre-configured scope.", "type": "string", - "enum": [ - "deny-set-theme" - ] + "const": "deny-set-theme" }, { - "description": "default -> Allow all", + "description": "Allow all", "type": "string", - "enum": [ - "default" - ] + "const": "default" } ] }