Przeglądaj źródła

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

Lucas Nogueira 4 lat temu
rodzic
commit
af634db275

+ 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": [