pake-cli 3.1.0 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1152,6 +1152,11 @@
1152
1152
  "type": "string",
1153
1153
  "const": "core:webview:allow-reparent"
1154
1154
  },
1155
+ {
1156
+ "description": "Enables the set_webview_background_color command without any pre-configured scope.",
1157
+ "type": "string",
1158
+ "const": "core:webview:allow-set-webview-background-color"
1159
+ },
1155
1160
  {
1156
1161
  "description": "Enables the set_webview_focus command without any pre-configured scope.",
1157
1162
  "type": "string",
@@ -1232,6 +1237,11 @@
1232
1237
  "type": "string",
1233
1238
  "const": "core:webview:deny-reparent"
1234
1239
  },
1240
+ {
1241
+ "description": "Denies the set_webview_background_color command without any pre-configured scope.",
1242
+ "type": "string",
1243
+ "const": "core:webview:deny-set-webview-background-color"
1244
+ },
1235
1245
  {
1236
1246
  "description": "Denies the set_webview_focus command without any pre-configured scope.",
1237
1247
  "type": "string",
@@ -1447,6 +1457,21 @@
1447
1457
  "type": "string",
1448
1458
  "const": "core:window:allow-set-always-on-top"
1449
1459
  },
1460
+ {
1461
+ "description": "Enables the set_background_color command without any pre-configured scope.",
1462
+ "type": "string",
1463
+ "const": "core:window:allow-set-background-color"
1464
+ },
1465
+ {
1466
+ "description": "Enables the set_badge_count command without any pre-configured scope.",
1467
+ "type": "string",
1468
+ "const": "core:window:allow-set-badge-count"
1469
+ },
1470
+ {
1471
+ "description": "Enables the set_badge_label command without any pre-configured scope.",
1472
+ "type": "string",
1473
+ "const": "core:window:allow-set-badge-label"
1474
+ },
1450
1475
  {
1451
1476
  "description": "Enables the set_closable command without any pre-configured scope.",
1452
1477
  "type": "string",
@@ -1532,6 +1557,11 @@
1532
1557
  "type": "string",
1533
1558
  "const": "core:window:allow-set-minimizable"
1534
1559
  },
1560
+ {
1561
+ "description": "Enables the set_overlay_icon command without any pre-configured scope.",
1562
+ "type": "string",
1563
+ "const": "core:window:allow-set-overlay-icon"
1564
+ },
1535
1565
  {
1536
1566
  "description": "Enables the set_position command without any pre-configured scope.",
1537
1567
  "type": "string",
@@ -1792,6 +1822,21 @@
1792
1822
  "type": "string",
1793
1823
  "const": "core:window:deny-set-always-on-top"
1794
1824
  },
1825
+ {
1826
+ "description": "Denies the set_background_color command without any pre-configured scope.",
1827
+ "type": "string",
1828
+ "const": "core:window:deny-set-background-color"
1829
+ },
1830
+ {
1831
+ "description": "Denies the set_badge_count command without any pre-configured scope.",
1832
+ "type": "string",
1833
+ "const": "core:window:deny-set-badge-count"
1834
+ },
1835
+ {
1836
+ "description": "Denies the set_badge_label command without any pre-configured scope.",
1837
+ "type": "string",
1838
+ "const": "core:window:deny-set-badge-label"
1839
+ },
1795
1840
  {
1796
1841
  "description": "Denies the set_closable command without any pre-configured scope.",
1797
1842
  "type": "string",
@@ -1877,6 +1922,11 @@
1877
1922
  "type": "string",
1878
1923
  "const": "core:window:deny-set-minimizable"
1879
1924
  },
1925
+ {
1926
+ "description": "Denies the set_overlay_icon command without any pre-configured scope.",
1927
+ "type": "string",
1928
+ "const": "core:window:deny-set-overlay-icon"
1929
+ },
1880
1930
  {
1881
1931
  "description": "Denies the set_position command without any pre-configured scope.",
1882
1932
  "type": "string",
@@ -1152,6 +1152,11 @@
1152
1152
  "type": "string",
1153
1153
  "const": "core:webview:allow-reparent"
1154
1154
  },
1155
+ {
1156
+ "description": "Enables the set_webview_background_color command without any pre-configured scope.",
1157
+ "type": "string",
1158
+ "const": "core:webview:allow-set-webview-background-color"
1159
+ },
1155
1160
  {
1156
1161
  "description": "Enables the set_webview_focus command without any pre-configured scope.",
1157
1162
  "type": "string",
@@ -1232,6 +1237,11 @@
1232
1237
  "type": "string",
1233
1238
  "const": "core:webview:deny-reparent"
1234
1239
  },
1240
+ {
1241
+ "description": "Denies the set_webview_background_color command without any pre-configured scope.",
1242
+ "type": "string",
1243
+ "const": "core:webview:deny-set-webview-background-color"
1244
+ },
1235
1245
  {
1236
1246
  "description": "Denies the set_webview_focus command without any pre-configured scope.",
1237
1247
  "type": "string",
@@ -1447,6 +1457,21 @@
1447
1457
  "type": "string",
1448
1458
  "const": "core:window:allow-set-always-on-top"
1449
1459
  },
1460
+ {
1461
+ "description": "Enables the set_background_color command without any pre-configured scope.",
1462
+ "type": "string",
1463
+ "const": "core:window:allow-set-background-color"
1464
+ },
1465
+ {
1466
+ "description": "Enables the set_badge_count command without any pre-configured scope.",
1467
+ "type": "string",
1468
+ "const": "core:window:allow-set-badge-count"
1469
+ },
1470
+ {
1471
+ "description": "Enables the set_badge_label command without any pre-configured scope.",
1472
+ "type": "string",
1473
+ "const": "core:window:allow-set-badge-label"
1474
+ },
1450
1475
  {
1451
1476
  "description": "Enables the set_closable command without any pre-configured scope.",
1452
1477
  "type": "string",
@@ -1532,6 +1557,11 @@
1532
1557
  "type": "string",
1533
1558
  "const": "core:window:allow-set-minimizable"
1534
1559
  },
1560
+ {
1561
+ "description": "Enables the set_overlay_icon command without any pre-configured scope.",
1562
+ "type": "string",
1563
+ "const": "core:window:allow-set-overlay-icon"
1564
+ },
1535
1565
  {
1536
1566
  "description": "Enables the set_position command without any pre-configured scope.",
1537
1567
  "type": "string",
@@ -1792,6 +1822,21 @@
1792
1822
  "type": "string",
1793
1823
  "const": "core:window:deny-set-always-on-top"
1794
1824
  },
1825
+ {
1826
+ "description": "Denies the set_background_color command without any pre-configured scope.",
1827
+ "type": "string",
1828
+ "const": "core:window:deny-set-background-color"
1829
+ },
1830
+ {
1831
+ "description": "Denies the set_badge_count command without any pre-configured scope.",
1832
+ "type": "string",
1833
+ "const": "core:window:deny-set-badge-count"
1834
+ },
1835
+ {
1836
+ "description": "Denies the set_badge_label command without any pre-configured scope.",
1837
+ "type": "string",
1838
+ "const": "core:window:deny-set-badge-label"
1839
+ },
1795
1840
  {
1796
1841
  "description": "Denies the set_closable command without any pre-configured scope.",
1797
1842
  "type": "string",
@@ -1877,6 +1922,11 @@
1877
1922
  "type": "string",
1878
1923
  "const": "core:window:deny-set-minimizable"
1879
1924
  },
1925
+ {
1926
+ "description": "Denies the set_overlay_icon command without any pre-configured scope.",
1927
+ "type": "string",
1928
+ "const": "core:window:deny-set-overlay-icon"
1929
+ },
1880
1930
  {
1881
1931
  "description": "Denies the set_position command without any pre-configured scope.",
1882
1932
  "type": "string",
@@ -2,11 +2,13 @@
2
2
  mod app;
3
3
  mod util;
4
4
 
5
- use std::time::Duration;
6
5
  use tauri::Manager;
7
6
  use tauri_plugin_window_state::Builder as WindowStatePlugin;
8
7
  use tauri_plugin_window_state::StateFlags;
9
8
 
9
+ #[cfg(target_os = "macos")]
10
+ use std::time::Duration;
11
+
10
12
  use app::{
11
13
  invoke::{download_file, download_file_by_binary, send_notification},
12
14
  setup::{set_global_shortcut, set_system_tray},
@@ -31,6 +33,7 @@ pub fn run_app() {
31
33
  })
32
34
  .build();
33
35
 
36
+ #[allow(deprecated)]
34
37
  tauri_app
35
38
  .plugin(window_state_plugin)
36
39
  .plugin(tauri_plugin_oauth::init())