Explorar o código

feat(cli.rs): add `skip_taskbar` to conf schema

Lucas Nogueira %!s(int64=4) %!d(string=hai) anos
pai
achega
af634db275
Modificáronse 2 ficheiros con 8 adicións e 0 borrados
  1. 3 0
      tooling/cli.rs/config_definition.rs
  2. 5 0
      tooling/cli.rs/schema.json

+ 3 - 0
tooling/cli.rs/config_definition.rs

@@ -307,6 +307,9 @@ pub struct WindowConfig {
   /// Whether the window should always be on top of other windows.
   #[serde(default)]
   pub always_on_top: bool,
+  /// Whether or not the window icon should be added to the taskbar.
+  #[serde(default)]
+  pub skip_taskbar: bool,
 }
 
 fn default_visible() -> bool {

+ 5 - 0
tooling/cli.rs/schema.json

@@ -1171,6 +1171,11 @@
           "default": false,
           "type": "boolean"
         },
+        "skipTaskbar": {
+          "description": "Whether or not the window icon should be added to the taskbar.",
+          "default": false,
+          "type": "boolean"
+        },
         "title": {
           "description": "The window title.",
           "type": [