diff --git a/.changes/update-tauri-rc-3.md b/.changes/update-tauri-rc-3.md
new file mode 100644
index 000000000..7e0ac01c7
--- /dev/null
+++ b/.changes/update-tauri-rc-3.md
@@ -0,0 +1,7 @@
+---
+"geolocation": patch
+"deep-link": patch
+"updater": patch
+---
+
+Update to tauri 2.0.0-rc.3.
diff --git a/Cargo.lock b/Cargo.lock
index 4c8bca7fe..242bcefdf 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -284,7 +284,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9fb4009533e8ff8f1450a5bcbc30f4242a1d34442221f72314bea1f5dc9c7f89"
dependencies = [
"clipboard-win",
- "core-graphics",
+ "core-graphics 0.23.2",
"image 0.25.2",
"log",
"objc2",
@@ -360,7 +360,7 @@ version = "0.4.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "fec134f64e2bc57411226dfc4e52dec859ddfc7e711fc5e07b612584f000e4aa"
dependencies = [
- "brotli 6.0.0",
+ "brotli",
"flate2",
"futures-core",
"memchr",
@@ -533,7 +533,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "08cee7a0952628fde958e149507c2bb321ab4fccfafd225da0b20adc956ef88a"
dependencies = [
"bitflags 1.3.2",
- "core-foundation",
+ "core-foundation 0.9.4",
"devd-rs",
"libc",
"libudev",
@@ -737,17 +737,6 @@ dependencies = [
"syn_derive",
]
-[[package]]
-name = "brotli"
-version = "3.5.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d640d25bc63c50fb1f0b545ffd80207d2e10a4c965530809b40ba3386825c391"
-dependencies = [
- "alloc-no-stdlib",
- "alloc-stdlib",
- "brotli-decompressor 2.5.1",
-]
-
[[package]]
name = "brotli"
version = "6.0.0"
@@ -756,17 +745,7 @@ checksum = "74f7971dbd9326d58187408ab83117d8ac1bb9c17b085fdacd1cf2f598719b6b"
dependencies = [
"alloc-no-stdlib",
"alloc-stdlib",
- "brotli-decompressor 4.0.1",
-]
-
-[[package]]
-name = "brotli-decompressor"
-version = "2.5.1"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f"
-dependencies = [
- "alloc-no-stdlib",
- "alloc-stdlib",
+ "brotli-decompressor",
]
[[package]]
@@ -1063,9 +1042,25 @@ checksum = "f6140449f97a6e97f9511815c5632d84c8aacf8ac271ad77c559218161a1373c"
dependencies = [
"bitflags 1.3.2",
"block",
- "cocoa-foundation",
- "core-foundation",
- "core-graphics",
+ "cocoa-foundation 0.1.2",
+ "core-foundation 0.9.4",
+ "core-graphics 0.23.2",
+ "foreign-types 0.5.0",
+ "libc",
+ "objc",
+]
+
+[[package]]
+name = "cocoa"
+version = "0.26.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f79398230a6e2c08f5c9760610eb6924b52aa9e7950a619602baba59dcbbdbb2"
+dependencies = [
+ "bitflags 2.6.0",
+ "block",
+ "cocoa-foundation 0.2.0",
+ "core-foundation 0.10.0",
+ "core-graphics 0.24.0",
"foreign-types 0.5.0",
"libc",
"objc",
@@ -1079,8 +1074,22 @@ checksum = "8c6234cbb2e4c785b456c0644748b1ac416dd045799740356f8363dfe00c93f7"
dependencies = [
"bitflags 1.3.2",
"block",
- "core-foundation",
- "core-graphics-types",
+ "core-foundation 0.9.4",
+ "core-graphics-types 0.1.3",
+ "libc",
+ "objc",
+]
+
+[[package]]
+name = "cocoa-foundation"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "e14045fb83be07b5acf1c0884b2180461635b433455fa35d1cd6f17f1450679d"
+dependencies = [
+ "bitflags 2.6.0",
+ "block",
+ "core-foundation 0.10.0",
+ "core-graphics-types 0.2.0",
"libc",
"objc",
]
@@ -1219,6 +1228,16 @@ dependencies = [
"libc",
]
+[[package]]
+name = "core-foundation"
+version = "0.10.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "b55271e5c8c478ad3f38ad24ef34923091e0548492a266d19b3c0b4d82574c63"
+dependencies = [
+ "core-foundation-sys",
+ "libc",
+]
+
[[package]]
name = "core-foundation-sys"
version = "0.8.7"
@@ -1232,8 +1251,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081"
dependencies = [
"bitflags 1.3.2",
- "core-foundation",
- "core-graphics-types",
+ "core-foundation 0.9.4",
+ "core-graphics-types 0.1.3",
+ "foreign-types 0.5.0",
+ "libc",
+]
+
+[[package]]
+name = "core-graphics"
+version = "0.24.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "fa95a34622365fa5bbf40b20b75dba8dfa8c94c734aea8ac9a5ca38af14316f1"
+dependencies = [
+ "bitflags 2.6.0",
+ "core-foundation 0.10.0",
+ "core-graphics-types 0.2.0",
"foreign-types 0.5.0",
"libc",
]
@@ -1245,7 +1277,18 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf"
dependencies = [
"bitflags 1.3.2",
- "core-foundation",
+ "core-foundation 0.9.4",
+ "libc",
+]
+
+[[package]]
+name = "core-graphics-types"
+version = "0.2.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "3d44a101f213f6c4cdc1853d4b78aef6db6bdfa3468798cc1d9912f4735013eb"
+dependencies = [
+ "bitflags 2.6.0",
+ "core-foundation 0.10.0",
"libc",
]
@@ -2025,6 +2068,15 @@ dependencies = [
"miniz_oxide",
]
+[[package]]
+name = "fluent-uri"
+version = "0.1.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "17c704e9dbe1ddd863da1e6ff3567795087b1eb201ce80d8fa81162e1516500d"
+dependencies = [
+ "bitflags 1.3.2",
+]
+
[[package]]
name = "flume"
version = "0.11.0"
@@ -2515,7 +2567,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "89cb13e8c52c87e28a46eae3e5e65b8f0cd465c4c9e67b13d56c70412e792bc3"
dependencies = [
"bitflags 2.6.0",
- "cocoa",
+ "cocoa 0.25.0",
"crossbeam-channel",
"keyboard-types",
"objc",
@@ -3192,15 +3244,27 @@ dependencies = [
[[package]]
name = "json-patch"
-version = "1.4.0"
+version = "2.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec9ad60d674508f3ca8f380a928cfe7b096bc729c4e2dbfe3852bc45da3ab30b"
+checksum = "5b1fb8864823fad91877e6caea0baca82e49e8db50f8e5c9f9a453e27d3330fc"
dependencies = [
+ "jsonptr",
"serde",
"serde_json",
"thiserror",
]
+[[package]]
+name = "jsonptr"
+version = "0.4.7"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "1c6e529149475ca0b2820835d3dce8fcc41c6b943ca608d32f35b449255e4627"
+dependencies = [
+ "fluent-uri",
+ "serde",
+ "serde_json",
+]
+
[[package]]
name = "k256"
version = "0.13.3"
@@ -3609,11 +3673,11 @@ dependencies = [
[[package]]
name = "muda"
-version = "0.13.5"
+version = "0.14.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "86b959f97c97044e4c96e32e1db292a7d594449546a3c6b77ae613dc3a5b5145"
+checksum = "86c410a9d21523a819e84881603fbc00331c8001eb899964952046671deddb9c"
dependencies = [
- "cocoa",
+ "cocoa 0.26.0",
"crossbeam-channel",
"dpi",
"gtk",
@@ -3623,7 +3687,7 @@ dependencies = [
"png",
"serde",
"thiserror",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -3645,15 +3709,16 @@ dependencies = [
[[package]]
name = "ndk"
-version = "0.7.0"
+version = "0.9.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "451422b7e4718271c8b5b3aadf5adedba43dc76312454b387e98fae0fc951aa0"
+checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4"
dependencies = [
- "bitflags 1.3.2",
+ "bitflags 2.6.0",
"jni-sys",
+ "log",
"ndk-sys",
"num_enum",
- "raw-window-handle 0.5.2",
+ "raw-window-handle 0.6.2",
"thiserror",
]
@@ -3665,9 +3730,9 @@ checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"
[[package]]
name = "ndk-sys"
-version = "0.4.1+23.1.7779620"
+version = "0.6.0+11769913"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3cf2aae958bd232cac5069850591667ad422d263686d75b52a065f9badeee5a3"
+checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873"
dependencies = [
"jni-sys",
]
@@ -3830,23 +3895,23 @@ dependencies = [
[[package]]
name = "num_enum"
-version = "0.5.11"
+version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1f646caf906c20226733ed5b1374287eb97e3c2a5c227ce668c1f2ce20ae57c9"
+checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179"
dependencies = [
"num_enum_derive",
]
[[package]]
name = "num_enum_derive"
-version = "0.5.11"
+version = "0.7.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799"
+checksum = "af1844ef2428cc3e1cb900be36181049ef3d3193c63e43026cfe202983b27a56"
dependencies = [
- "proc-macro-crate 1.3.1",
+ "proc-macro-crate 2.0.2",
"proc-macro2",
"quote",
- "syn 1.0.109",
+ "syn 2.0.74",
]
[[package]]
@@ -5375,7 +5440,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "897b2245f0b511c87893af39b033e5ca9cce68824c4d7e7630b5a1d339658d02"
dependencies = [
"bitflags 2.6.0",
- "core-foundation",
+ "core-foundation 0.9.4",
"core-foundation-sys",
"libc",
"security-framework-sys",
@@ -5694,7 +5759,7 @@ checksum = "d623bff5d06f60d738990980d782c8c866997d9194cfe79ecad00aa2f76826dd"
dependencies = [
"bytemuck",
"cfg_aliases 0.2.1",
- "core-graphics",
+ "core-graphics 0.23.2",
"foreign-types 0.5.0",
"js-sys",
"log",
@@ -6183,7 +6248,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "ba3a3adc5c275d719af8cb4272ea1c4a6d668a777f37e115f6d11ddbc1c8e0e7"
dependencies = [
"bitflags 1.3.2",
- "core-foundation",
+ "core-foundation 0.9.4",
"system-configuration-sys",
]
@@ -6212,14 +6277,14 @@ dependencies = [
[[package]]
name = "tao"
-version = "0.28.1"
+version = "0.29.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ea538df05fbc2dcbbd740ba0cfe8607688535f4798d213cbbfa13ce494f3451f"
+checksum = "6775bcf3c1da33f848ede9cff5883ed1e45a29f66533ce42ad06c93ae514ed59"
dependencies = [
"bitflags 2.6.0",
- "cocoa",
- "core-foundation",
- "core-graphics",
+ "cocoa 0.26.0",
+ "core-foundation 0.10.0",
+ "core-graphics 0.24.0",
"crossbeam-channel",
"dispatch",
"dlopen2",
@@ -6243,8 +6308,8 @@ dependencies = [
"tao-macros",
"unicode-segmentation",
"url",
- "windows 0.57.0",
- "windows-core 0.57.0",
+ "windows 0.58.0",
+ "windows-core 0.58.0",
"windows-version",
"x11-dl",
]
@@ -6285,13 +6350,13 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
[[package]]
name = "tauri"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "19ee93e545e49458813d4ed16179c67ee6141dba140ec3d4f078dda3b8d4e0d1"
+checksum = "79776954e2cd6b6c3b56e2cd99905a3a166017495a39ac8eb4c85dd8ea8704b4"
dependencies = [
"anyhow",
"bytes",
- "cocoa",
+ "cocoa 0.26.0",
"dirs 5.0.1",
"dunce",
"embed_plist",
@@ -6333,14 +6398,14 @@ dependencies = [
"webkit2gtk",
"webview2-com",
"window-vibrancy",
- "windows 0.57.0",
+ "windows 0.58.0",
]
[[package]]
name = "tauri-build"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "96a58b3a716b51d7f671f729bb8c0a53cd2551eec8450c64e828ef4e6c9f948e"
+checksum = "1fc103bde77870e08d5fc8765615b9615997827550b626fbc4ebbd7a1fbfe2a2"
dependencies = [
"anyhow",
"cargo_toml",
@@ -6362,12 +6427,12 @@ dependencies = [
[[package]]
name = "tauri-codegen"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "90a9e63ecd827d57228864764e0234935c9aac230099cf145197c8c08e754ced"
+checksum = "ea061e6be9b37ab455eadc189f45617deafc85c94f78f9cd584862a6deaa83d1"
dependencies = [
"base64 0.22.1",
- "brotli 3.5.0",
+ "brotli",
"ico",
"json-patch",
"plist",
@@ -6389,9 +6454,9 @@ dependencies = [
[[package]]
name = "tauri-macros"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "a54f5d5b289aa6215ffcfed7d4ff9960a04b7a854436d04519a9fcf911050cba"
+checksum = "9e20d6f6f96f55a43339c465b3c8205d71940372d54d7c665c5329e8e4ba35d0"
dependencies = [
"heck 0.5.0",
"proc-macro2",
@@ -6403,9 +6468,9 @@ dependencies = [
[[package]]
name = "tauri-plugin"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "03ce2ac5e182251ff932750d69c9b240a78e44901a7a6234814d63c595b43660"
+checksum = "ec01af01098a286d3e430c1fa947bfd77bc8011ecb209438af4444b02d82b29e"
dependencies = [
"anyhow",
"glob",
@@ -6637,7 +6702,7 @@ version = "2.0.0-rc.0"
dependencies = [
"android_logger",
"byte-unit",
- "cocoa",
+ "cocoa 0.25.0",
"fern",
"log",
"objc",
@@ -6844,7 +6909,7 @@ dependencies = [
"time",
"tokio",
"url",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
"zip",
]
@@ -6897,9 +6962,9 @@ dependencies = [
[[package]]
name = "tauri-runtime"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f01b129b1ebdf09563c354760dbe7c0e96a166b4e33362d9c8d207f527c7ea5"
+checksum = "f4e736d3293f8347e5d2c5b250fe0e5b873499f5483578b139445dbbf802e2e5"
dependencies = [
"dpi",
"gtk",
@@ -6911,16 +6976,16 @@ dependencies = [
"tauri-utils",
"thiserror",
"url",
- "windows 0.57.0",
+ "windows 0.58.0",
]
[[package]]
name = "tauri-runtime-wry"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fcda27639094ace2bf25f00bc10e35ea4e3af2f92753b1bdd2a174d1fa5a6292"
+checksum = "9fead81c1bd0205d5f02580e64f522704618274e784c2d1c127e4ba19acd0b79"
dependencies = [
- "cocoa",
+ "cocoa 0.26.0",
"gtk",
"http",
"jni",
@@ -6934,18 +6999,18 @@ dependencies = [
"url",
"webkit2gtk",
"webview2-com",
- "windows 0.57.0",
+ "windows 0.58.0",
"wry",
]
[[package]]
name = "tauri-utils"
-version = "2.0.0-rc.2"
+version = "2.0.0-rc.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "28bb83cffa26e9cb7a2b3d0c31ab87bf277f44aaaa90f17159aef4d37aabd051"
+checksum = "285af18e09665ea15fdda04cb28fb579a4d71b4e1640628489fecca98838ca9a"
dependencies = [
"aes-gcm",
- "brotli 3.5.0",
+ "brotli",
"cargo_metadata",
"ctor",
"dunce",
@@ -7401,22 +7466,23 @@ dependencies = [
[[package]]
name = "tray-icon"
-version = "0.14.3"
+version = "0.15.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "3ad8319cca93189ea9ab1b290de0595960529750b6b8b501a399ed1ec3775d60"
+checksum = "2b92252d649d771105448969f2b2dda4342ba48b77731b60d37c93665e26615b"
dependencies = [
- "cocoa",
- "core-graphics",
+ "core-graphics 0.24.0",
"crossbeam-channel",
"dirs 5.0.1",
"libappindicator",
"muda",
- "objc",
+ "objc2",
+ "objc2-app-kit",
+ "objc2-foundation",
"once_cell",
"png",
"serde",
"thiserror",
- "windows-sys 0.52.0",
+ "windows-sys 0.59.0",
]
[[package]]
@@ -7917,23 +7983,23 @@ dependencies = [
[[package]]
name = "webview2-com"
-version = "0.31.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "6516cfa64c6b3212686080eeec378e662c2af54bb2a5b2a22749673f5cb2226f"
+checksum = "6f61ff3d9d0ee4efcb461b14eb3acfda2702d10dc329f339303fc3e57215ae2c"
dependencies = [
"webview2-com-macros",
"webview2-com-sys",
- "windows 0.57.0",
- "windows-core 0.57.0",
- "windows-implement 0.57.0",
- "windows-interface 0.57.0",
+ "windows 0.58.0",
+ "windows-core 0.58.0",
+ "windows-implement 0.58.0",
+ "windows-interface 0.58.0",
]
[[package]]
name = "webview2-com-macros"
-version = "0.7.0"
+version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ac1345798ecd8122468840bcdf1b95e5dc6d2206c5e4b0eafa078d061f59c9bc"
+checksum = "1d228f15bba3b9d56dde8bddbee66fa24545bd17b48d5128ccf4a8742b18e431"
dependencies = [
"proc-macro2",
"quote",
@@ -7942,13 +8008,13 @@ dependencies = [
[[package]]
name = "webview2-com-sys"
-version = "0.31.0"
+version = "0.33.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "c76d5b77320ff155660be1df3e6588bc85c75f1a9feef938cc4dc4dd60d1d7cf"
+checksum = "a3a3e2eeb58f82361c93f9777014668eb3d07e7d174ee4c819575a9208011886"
dependencies = [
"thiserror",
- "windows 0.57.0",
- "windows-core 0.57.0",
+ "windows 0.58.0",
+ "windows-core 0.58.0",
]
[[package]]
@@ -8014,7 +8080,7 @@ version = "0.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "67ff424735b1ac21293b0492b069394b0a189c8a463fb015a16dea7c2e221c08"
dependencies = [
- "cocoa",
+ "cocoa 0.25.0",
"objc",
"raw-window-handle 0.5.2",
"windows-sys 0.48.0",
@@ -8026,7 +8092,7 @@ version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "33082acd404763b315866e14a0d5193f3422c81086657583937a750cdd3ec340"
dependencies = [
- "cocoa",
+ "cocoa 0.25.0",
"objc",
"raw-window-handle 0.6.2",
"windows-sys 0.52.0",
@@ -8067,11 +8133,11 @@ dependencies = [
[[package]]
name = "windows"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143"
+checksum = "dd04d41d93c4992d421894c18c8b43496aa748dd4c081bac0dc93eb0489272b6"
dependencies = [
- "windows-core 0.57.0",
+ "windows-core 0.58.0",
"windows-targets 0.52.6",
]
@@ -8098,13 +8164,14 @@ dependencies = [
[[package]]
name = "windows-core"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d"
+checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"
dependencies = [
- "windows-implement 0.57.0",
- "windows-interface 0.57.0",
- "windows-result 0.1.2",
+ "windows-implement 0.58.0",
+ "windows-interface 0.58.0",
+ "windows-result 0.2.0",
+ "windows-strings",
"windows-targets 0.52.6",
]
@@ -8121,9 +8188,9 @@ dependencies = [
[[package]]
name = "windows-implement"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7"
+checksum = "2bbd5b46c938e506ecbce286b6628a02171d56153ba733b6c741fc627ec9579b"
dependencies = [
"proc-macro2",
"quote",
@@ -8143,9 +8210,9 @@ dependencies = [
[[package]]
name = "windows-interface"
-version = "0.57.0"
+version = "0.58.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7"
+checksum = "053c4c462dc91d3b1504c6fe5a726dd15e216ba718e84a0e46a88fbe5ded3515"
dependencies = [
"proc-macro2",
"quote",
@@ -8474,14 +8541,14 @@ dependencies = [
[[package]]
name = "wry"
-version = "0.41.0"
+version = "0.42.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "68b00c945786b02d7805d09a969fa36d0eee4e0bd4fb3ec2a79d2bf45a1b44cd"
+checksum = "49b8049c8f239cdbfaaea4bacb9646f6b208938ceec0acd5b3e99cd05f70903f"
dependencies = [
"base64 0.22.1",
"block",
- "cocoa",
- "core-graphics",
+ "cocoa 0.26.0",
+ "core-graphics 0.24.0",
"crossbeam-channel",
"dpi",
"dunce",
@@ -8494,8 +8561,6 @@ dependencies = [
"kuchikiki",
"libc",
"ndk",
- "ndk-context",
- "ndk-sys",
"objc",
"objc_id",
"once_cell",
@@ -8508,8 +8573,8 @@ dependencies = [
"webkit2gtk",
"webkit2gtk-sys",
"webview2-com",
- "windows 0.57.0",
- "windows-core 0.57.0",
+ "windows 0.58.0",
+ "windows-core 0.58.0",
"windows-version",
"x11-dl",
]
diff --git a/Cargo.toml b/Cargo.toml
index 513b661ce..e24823f72 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -11,10 +11,10 @@ resolver = "2"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
log = "0.4"
-tauri = { version = "2.0.0-rc.2", default-features = false }
-tauri-build = "2.0.0-rc.2"
-tauri-plugin = "2.0.0-rc.2"
-tauri-utils = "2.0.0-rc.2"
+tauri = { version = "2.0.0-rc.3", default-features = false }
+tauri-build = "2.0.0-rc.3"
+tauri-plugin = "2.0.0-rc.3"
+tauri-utils = "2.0.0-rc.3"
serde_json = "1"
thiserror = "1"
url = "2"
diff --git a/examples/api/package.json b/examples/api/package.json
index 67b365536..948771511 100644
--- a/examples/api/package.json
+++ b/examples/api/package.json
@@ -9,7 +9,7 @@
"serve": "vite preview"
},
"dependencies": {
- "@tauri-apps/api": "2.0.0-rc.0",
+ "@tauri-apps/api": "2.0.0-rc.1",
"@tauri-apps/plugin-barcode-scanner": "2.0.0-rc.0",
"@tauri-apps/plugin-biometric": "2.0.0-rc.0",
"@tauri-apps/plugin-cli": "2.0.0-rc.0",
diff --git a/examples/api/src-tauri/gen/schemas/desktop-schema.json b/examples/api/src-tauri/gen/schemas/desktop-schema.json
index da8dd54e2..fd3e2e34e 100644
--- a/examples/api/src-tauri/gen/schemas/desktop-schema.json
+++ b/examples/api/src-tauri/gen/schemas/desktop-schema.json
@@ -3464,6 +3464,13 @@
"core:webview:allow-create-webview-window"
]
},
+ {
+ "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.",
+ "type": "string",
+ "enum": [
+ "core:webview:allow-get-all-webviews"
+ ]
+ },
{
"description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
"type": "string",
@@ -3548,6 +3555,13 @@
"core:webview:deny-create-webview-window"
]
},
+ {
+ "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.",
+ "type": "string",
+ "enum": [
+ "core:webview:deny-get-all-webviews"
+ ]
+ },
{
"description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
"type": "string",
@@ -3674,6 +3688,13 @@
"core:window:allow-destroy"
]
},
+ {
+ "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.",
+ "type": "string",
+ "enum": [
+ "core:window:allow-get-all-windows"
+ ]
+ },
{
"description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.",
"type": "string",
@@ -4129,6 +4150,13 @@
"core:window:deny-destroy"
]
},
+ {
+ "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.",
+ "type": "string",
+ "enum": [
+ "core:window:deny-get-all-windows"
+ ]
+ },
{
"description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.",
"type": "string",
diff --git a/examples/api/src-tauri/gen/schemas/mobile-schema.json b/examples/api/src-tauri/gen/schemas/mobile-schema.json
index d5ab8034f..ba399e4de 100644
--- a/examples/api/src-tauri/gen/schemas/mobile-schema.json
+++ b/examples/api/src-tauri/gen/schemas/mobile-schema.json
@@ -3569,6 +3569,13 @@
"core:webview:allow-create-webview-window"
]
},
+ {
+ "description": "core:webview:allow-get-all-webviews -> Enables the get_all_webviews command without any pre-configured scope.",
+ "type": "string",
+ "enum": [
+ "core:webview:allow-get-all-webviews"
+ ]
+ },
{
"description": "core:webview:allow-internal-toggle-devtools -> Enables the internal_toggle_devtools command without any pre-configured scope.",
"type": "string",
@@ -3653,6 +3660,13 @@
"core:webview:deny-create-webview-window"
]
},
+ {
+ "description": "core:webview:deny-get-all-webviews -> Denies the get_all_webviews command without any pre-configured scope.",
+ "type": "string",
+ "enum": [
+ "core:webview:deny-get-all-webviews"
+ ]
+ },
{
"description": "core:webview:deny-internal-toggle-devtools -> Denies the internal_toggle_devtools command without any pre-configured scope.",
"type": "string",
@@ -3779,6 +3793,13 @@
"core:window:allow-destroy"
]
},
+ {
+ "description": "core:window:allow-get-all-windows -> Enables the get_all_windows command without any pre-configured scope.",
+ "type": "string",
+ "enum": [
+ "core:window:allow-get-all-windows"
+ ]
+ },
{
"description": "core:window:allow-hide -> Enables the hide command without any pre-configured scope.",
"type": "string",
@@ -4234,6 +4255,13 @@
"core:window:deny-destroy"
]
},
+ {
+ "description": "core:window:deny-get-all-windows -> Denies the get_all_windows command without any pre-configured scope.",
+ "type": "string",
+ "enum": [
+ "core:window:deny-get-all-windows"
+ ]
+ },
{
"description": "core:window:deny-hide -> Denies the hide command without any pre-configured scope.",
"type": "string",
diff --git a/plugins/authenticator/package.json b/plugins/authenticator/package.json
index 38604af90..b354e8fe3 100644
--- a/plugins/authenticator/package.json
+++ b/plugins/authenticator/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/authenticator/permissions/autogenerated/reference.md b/plugins/authenticator/permissions/autogenerated/reference.md
index 71b941ea7..1df292f1a 100644
--- a/plugins/authenticator/permissions/autogenerated/reference.md
+++ b/plugins/authenticator/permissions/autogenerated/reference.md
@@ -1,5 +1,5 @@
-### Permission Table
+## Permission Table
diff --git a/plugins/autostart/package.json b/plugins/autostart/package.json
index 10ec78848..1176bb234 100644
--- a/plugins/autostart/package.json
+++ b/plugins/autostart/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/autostart/permissions/autogenerated/reference.md b/plugins/autostart/permissions/autogenerated/reference.md
index 46957bf53..b5e37ac1e 100644
--- a/plugins/autostart/permissions/autogenerated/reference.md
+++ b/plugins/autostart/permissions/autogenerated/reference.md
@@ -15,7 +15,7 @@ disable the automatic start on boot.
- `allow-disable`
- `allow-is-enabled`
-### Permission Table
+## Permission Table
diff --git a/plugins/barcode-scanner/package.json b/plugins/barcode-scanner/package.json
index 6ca3d16b3..7af42638b 100644
--- a/plugins/barcode-scanner/package.json
+++ b/plugins/barcode-scanner/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/barcode-scanner/permissions/autogenerated/reference.md b/plugins/barcode-scanner/permissions/autogenerated/reference.md
index 1778df445..6b8739c19 100644
--- a/plugins/barcode-scanner/permissions/autogenerated/reference.md
+++ b/plugins/barcode-scanner/permissions/autogenerated/reference.md
@@ -16,7 +16,7 @@ It allows all barcode related features.
- `allow-scan`
- `allow-vibrate`
-### Permission Table
+## Permission Table
diff --git a/plugins/biometric/package.json b/plugins/biometric/package.json
index 7a90255e5..fb89ada88 100644
--- a/plugins/biometric/package.json
+++ b/plugins/biometric/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/biometric/permissions/autogenerated/reference.md b/plugins/biometric/permissions/autogenerated/reference.md
index d54a40f06..8b3b58c23 100644
--- a/plugins/biometric/permissions/autogenerated/reference.md
+++ b/plugins/biometric/permissions/autogenerated/reference.md
@@ -12,7 +12,7 @@ It allows acccess to all biometric commands.
- `allow-authenticate`
- `allow-status`
-### Permission Table
+## Permission Table
diff --git a/plugins/cli/package.json b/plugins/cli/package.json
index 379d11984..ead7c3b0f 100644
--- a/plugins/cli/package.json
+++ b/plugins/cli/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/cli/permissions/autogenerated/reference.md b/plugins/cli/permissions/autogenerated/reference.md
index 93588921a..48434ceab 100644
--- a/plugins/cli/permissions/autogenerated/reference.md
+++ b/plugins/cli/permissions/autogenerated/reference.md
@@ -4,7 +4,7 @@ Allows reading the CLI matches
- `allow-cli-matches`
-### Permission Table
+## Permission Table
diff --git a/plugins/clipboard-manager/package.json b/plugins/clipboard-manager/package.json
index 0644a881a..7f661aac3 100644
--- a/plugins/clipboard-manager/package.json
+++ b/plugins/clipboard-manager/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/clipboard-manager/permissions/autogenerated/reference.md b/plugins/clipboard-manager/permissions/autogenerated/reference.md
index f712d5add..88c90e415 100644
--- a/plugins/clipboard-manager/permissions/autogenerated/reference.md
+++ b/plugins/clipboard-manager/permissions/autogenerated/reference.md
@@ -8,7 +8,7 @@ Clipboard interaction needs to be explicitly enabled.
-### Permission Table
+## Permission Table
diff --git a/plugins/deep-link/examples/app/package.json b/plugins/deep-link/examples/app/package.json
index 88a2a41fb..ab055fc01 100644
--- a/plugins/deep-link/examples/app/package.json
+++ b/plugins/deep-link/examples/app/package.json
@@ -10,7 +10,7 @@
"tauri": "tauri"
},
"dependencies": {
- "@tauri-apps/api": "2.0.0-rc.0",
+ "@tauri-apps/api": "2.0.0-rc.1",
"@tauri-apps/plugin-deep-link": "2.0.0-rc.0"
},
"devDependencies": {
diff --git a/plugins/deep-link/package.json b/plugins/deep-link/package.json
index 7584bc7a3..8b30276e0 100644
--- a/plugins/deep-link/package.json
+++ b/plugins/deep-link/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/deep-link/permissions/autogenerated/reference.md b/plugins/deep-link/permissions/autogenerated/reference.md
index 2b815a0c9..460960c81 100644
--- a/plugins/deep-link/permissions/autogenerated/reference.md
+++ b/plugins/deep-link/permissions/autogenerated/reference.md
@@ -4,7 +4,7 @@ Allows reading the opened deep link via the get_current command
- `allow-get-current`
-### Permission Table
+## Permission Table
diff --git a/plugins/deep-link/src/lib.rs b/plugins/deep-link/src/lib.rs
index 3111c26ca..52e37cd1c 100644
--- a/plugins/deep-link/src/lib.rs
+++ b/plugins/deep-link/src/lib.rs
@@ -24,24 +24,28 @@ fn init_deep_link(
#[cfg(target_os = "android")]
{
use tauri::{
- ipc::{Channel, InvokeBody},
+ ipc::{Channel, InvokeResponseBody},
Emitter,
};
let handle = _api.register_android_plugin(PLUGIN_IDENTIFIER, "DeepLinkPlugin")?;
+ #[derive(serde::Deserialize)]
+ struct Event {
+ url: String,
+ }
+
let app_handle = app.clone();
handle.run_mobile_plugin::<()>(
"setEventHandler",
imp::EventHandler {
handler: Channel::new(move |event| {
- println!("got channel event: {:?}", &event);
-
let url = match event {
- InvokeBody::Json(payload) => payload
- .get("url")
- .and_then(|v| v.as_str())
- .map(|s| s.to_owned()),
+ InvokeResponseBody::Json(payload) => {
+ serde_json::from_str::(&payload)
+ .ok()
+ .map(|payload| payload.url)
+ }
_ => None,
};
diff --git a/plugins/dialog/package.json b/plugins/dialog/package.json
index ac4f3e84b..61d2652bd 100644
--- a/plugins/dialog/package.json
+++ b/plugins/dialog/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/dialog/permissions/autogenerated/reference.md b/plugins/dialog/permissions/autogenerated/reference.md
index e99293850..325432e5a 100644
--- a/plugins/dialog/permissions/autogenerated/reference.md
+++ b/plugins/dialog/permissions/autogenerated/reference.md
@@ -16,7 +16,7 @@ All dialog types are enabled.
- `allow-save`
- `allow-open`
-### Permission Table
+## Permission Table
diff --git a/plugins/fs/package.json b/plugins/fs/package.json
index ca76d6966..f0e392141 100644
--- a/plugins/fs/package.json
+++ b/plugins/fs/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/fs/permissions/autogenerated/reference.md b/plugins/fs/permissions/autogenerated/reference.md
index dfbed74e0..6913f47a8 100644
--- a/plugins/fs/permissions/autogenerated/reference.md
+++ b/plugins/fs/permissions/autogenerated/reference.md
@@ -30,7 +30,7 @@ On Windows the webview data folder access is denied.
- `read-app-specific-dirs-recursive`
- `deny-default`
-### Permission Table
+## Permission Table
diff --git a/plugins/geolocation/package.json b/plugins/geolocation/package.json
index 2fc10dc4e..190ab3f90 100644
--- a/plugins/geolocation/package.json
+++ b/plugins/geolocation/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/geolocation/permissions/autogenerated/reference.md b/plugins/geolocation/permissions/autogenerated/reference.md
index ba5ec8210..e8768210e 100644
--- a/plugins/geolocation/permissions/autogenerated/reference.md
+++ b/plugins/geolocation/permissions/autogenerated/reference.md
@@ -1,5 +1,5 @@
-### Permission Table
+## Permission Table
diff --git a/plugins/geolocation/src/desktop.rs b/plugins/geolocation/src/desktop.rs
index 21a7e6a6f..00da1fadb 100644
--- a/plugins/geolocation/src/desktop.rs
+++ b/plugins/geolocation/src/desktop.rs
@@ -4,7 +4,7 @@
use serde::{de::DeserializeOwned, Serialize};
use tauri::{
- ipc::{Channel, InvokeBody},
+ ipc::{Channel, InvokeResponseBody},
plugin::PluginApi,
AppHandle, Runtime,
};
@@ -36,7 +36,7 @@ impl Geolocation {
) -> crate::Result {
let channel = Channel::new(move |event| {
let payload = match event {
- InvokeBody::Json(payload) => serde_json::from_value::(payload)
+ InvokeResponseBody::Json(payload) => serde_json::from_str::(&payload)
.unwrap_or_else(|error| {
WatchEvent::Error(format!(
"Couldn't deserialize watch event payload: `{error}`"
diff --git a/plugins/geolocation/src/mobile.rs b/plugins/geolocation/src/mobile.rs
index 3e77f68a9..c7c5bc4e5 100644
--- a/plugins/geolocation/src/mobile.rs
+++ b/plugins/geolocation/src/mobile.rs
@@ -4,7 +4,7 @@
use serde::{de::DeserializeOwned, Serialize};
use tauri::{
- ipc::{Channel, InvokeBody},
+ ipc::{Channel, InvokeResponseBody},
plugin::{PluginApi, PluginHandle},
AppHandle, Runtime,
};
@@ -51,7 +51,7 @@ impl Geolocation {
) -> crate::Result {
let channel = Channel::new(move |event| {
let payload = match event {
- InvokeBody::Json(payload) => serde_json::from_value::(dbg!(payload))
+ InvokeResponseBody::Json(payload) => serde_json::from_str::(&payload)
.unwrap_or_else(|error| {
WatchEvent::Error(format!(
"Couldn't deserialize watch event payload: `{error}`"
diff --git a/plugins/global-shortcut/package.json b/plugins/global-shortcut/package.json
index b10f72494..549983616 100644
--- a/plugins/global-shortcut/package.json
+++ b/plugins/global-shortcut/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/global-shortcut/permissions/autogenerated/reference.md b/plugins/global-shortcut/permissions/autogenerated/reference.md
index 13903f757..1c91743c0 100644
--- a/plugins/global-shortcut/permissions/autogenerated/reference.md
+++ b/plugins/global-shortcut/permissions/autogenerated/reference.md
@@ -7,7 +7,7 @@ registered or unregistered.
-### Permission Table
+## Permission Table
diff --git a/plugins/haptics/package.json b/plugins/haptics/package.json
index 964b15083..c886951b5 100644
--- a/plugins/haptics/package.json
+++ b/plugins/haptics/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/haptics/permissions/autogenerated/reference.md b/plugins/haptics/permissions/autogenerated/reference.md
index b833ba1f5..36fbd7d35 100644
--- a/plugins/haptics/permissions/autogenerated/reference.md
+++ b/plugins/haptics/permissions/autogenerated/reference.md
@@ -1,5 +1,5 @@
-### Permission Table
+## Permission Table
diff --git a/plugins/http/package.json b/plugins/http/package.json
index 954e91b80..c6907d4c9 100644
--- a/plugins/http/package.json
+++ b/plugins/http/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/http/permissions/autogenerated/reference.md b/plugins/http/permissions/autogenerated/reference.md
index b1988a0d9..85406618b 100644
--- a/plugins/http/permissions/autogenerated/reference.md
+++ b/plugins/http/permissions/autogenerated/reference.md
@@ -18,7 +18,7 @@ All fetch operations are enabled.
- `allow-fetch-read-body`
- `allow-fetch-send`
-### Permission Table
+## Permission Table
diff --git a/plugins/log/package.json b/plugins/log/package.json
index a20a0de35..c848bc49f 100644
--- a/plugins/log/package.json
+++ b/plugins/log/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/log/permissions/autogenerated/reference.md b/plugins/log/permissions/autogenerated/reference.md
index a1f067228..f2cdf689b 100644
--- a/plugins/log/permissions/autogenerated/reference.md
+++ b/plugins/log/permissions/autogenerated/reference.md
@@ -4,7 +4,7 @@ Allows the log command
- `allow-log`
-### Permission Table
+## Permission Table
diff --git a/plugins/nfc/package.json b/plugins/nfc/package.json
index 2225c0940..5b672e9de 100644
--- a/plugins/nfc/package.json
+++ b/plugins/nfc/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/nfc/permissions/autogenerated/reference.md b/plugins/nfc/permissions/autogenerated/reference.md
index 885eb684a..8e4960fec 100644
--- a/plugins/nfc/permissions/autogenerated/reference.md
+++ b/plugins/nfc/permissions/autogenerated/reference.md
@@ -14,7 +14,7 @@ Writing to tags needs to be manually enabled.
- `allow-is-available`
- `allow-scan`
-### Permission Table
+## Permission Table
diff --git a/plugins/notification/package.json b/plugins/notification/package.json
index edf6deac2..3d64ac14c 100644
--- a/plugins/notification/package.json
+++ b/plugins/notification/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/notification/permissions/autogenerated/reference.md b/plugins/notification/permissions/autogenerated/reference.md
index 2dd889a78..9e26eb8bb 100644
--- a/plugins/notification/permissions/autogenerated/reference.md
+++ b/plugins/notification/permissions/autogenerated/reference.md
@@ -26,7 +26,7 @@ It allows all notification related features.
- `allow-create-channel`
- `allow-permission-state`
-### Permission Table
+## Permission Table
diff --git a/plugins/os/package.json b/plugins/os/package.json
index e07085142..db5315c86 100644
--- a/plugins/os/package.json
+++ b/plugins/os/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/os/permissions/autogenerated/reference.md b/plugins/os/permissions/autogenerated/reference.md
index cab95f161..1b49691b7 100644
--- a/plugins/os/permissions/autogenerated/reference.md
+++ b/plugins/os/permissions/autogenerated/reference.md
@@ -18,7 +18,7 @@ All information except the host name are available.
- `allow-platform`
- `allow-version`
-### Permission Table
+## Permission Table
diff --git a/plugins/positioner/package.json b/plugins/positioner/package.json
index b536d21b5..b99eed567 100644
--- a/plugins/positioner/package.json
+++ b/plugins/positioner/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/positioner/permissions/autogenerated/reference.md b/plugins/positioner/permissions/autogenerated/reference.md
index d7fa07ecd..ad160d1b9 100644
--- a/plugins/positioner/permissions/autogenerated/reference.md
+++ b/plugins/positioner/permissions/autogenerated/reference.md
@@ -4,7 +4,7 @@ Allows the move_window command
- `allow-move-window`
-### Permission Table
+## Permission Table
diff --git a/plugins/process/package.json b/plugins/process/package.json
index 58214386b..53b36e5ad 100644
--- a/plugins/process/package.json
+++ b/plugins/process/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/process/permissions/autogenerated/reference.md b/plugins/process/permissions/autogenerated/reference.md
index 7ae1b4ba3..b0aecfa64 100644
--- a/plugins/process/permissions/autogenerated/reference.md
+++ b/plugins/process/permissions/autogenerated/reference.md
@@ -12,7 +12,7 @@ the application.
- `allow-exit`
- `allow-restart`
-### Permission Table
+## Permission Table
diff --git a/plugins/shell/package.json b/plugins/shell/package.json
index e53b8eb19..cc52e6369 100644
--- a/plugins/shell/package.json
+++ b/plugins/shell/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/shell/permissions/autogenerated/reference.md b/plugins/shell/permissions/autogenerated/reference.md
index 157e67bf6..80a5a4bd4 100644
--- a/plugins/shell/permissions/autogenerated/reference.md
+++ b/plugins/shell/permissions/autogenerated/reference.md
@@ -12,7 +12,7 @@ scope pre-configured. It will allow opening `http(s)://`,
- `allow-open`
-### Permission Table
+## Permission Table
diff --git a/plugins/sql/package.json b/plugins/sql/package.json
index f287305a6..1f7118065 100644
--- a/plugins/sql/package.json
+++ b/plugins/sql/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/sql/permissions/autogenerated/reference.md b/plugins/sql/permissions/autogenerated/reference.md
index 718a173f1..4f3a32ebe 100644
--- a/plugins/sql/permissions/autogenerated/reference.md
+++ b/plugins/sql/permissions/autogenerated/reference.md
@@ -16,7 +16,7 @@ Also allows to load or close a connection.
- `allow-load`
- `allow-select`
-### Permission Table
+## Permission Table
diff --git a/plugins/store/examples/AppSettingsManager/package.json b/plugins/store/examples/AppSettingsManager/package.json
index f86208f34..046061898 100644
--- a/plugins/store/examples/AppSettingsManager/package.json
+++ b/plugins/store/examples/AppSettingsManager/package.json
@@ -8,7 +8,7 @@
"tauri": "tauri"
},
"devDependencies": {
- "@tauri-apps/cli": "^2.0.0-rc.0",
+ "@tauri-apps/cli": "2.0.0-rc.3",
"vite": "^5.0.12",
"typescript": "^5.3.3"
}
diff --git a/plugins/store/package.json b/plugins/store/package.json
index fe85859cd..6b2bd78f0 100644
--- a/plugins/store/package.json
+++ b/plugins/store/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/store/permissions/autogenerated/reference.md b/plugins/store/permissions/autogenerated/reference.md
index 9b54940b0..8dceebca6 100644
--- a/plugins/store/permissions/autogenerated/reference.md
+++ b/plugins/store/permissions/autogenerated/reference.md
@@ -22,7 +22,7 @@ All operations are enabled by default.
- `allow-set`
- `allow-values`
-### Permission Table
+## Permission Table
diff --git a/plugins/stronghold/package.json b/plugins/stronghold/package.json
index bcc30e88c..1b4c75c85 100644
--- a/plugins/stronghold/package.json
+++ b/plugins/stronghold/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/stronghold/permissions/autogenerated/reference.md b/plugins/stronghold/permissions/autogenerated/reference.md
index 80f814952..60aea74be 100644
--- a/plugins/stronghold/permissions/autogenerated/reference.md
+++ b/plugins/stronghold/permissions/autogenerated/reference.md
@@ -18,7 +18,7 @@ All non-destructive operations are enabled by default.
- `allow-save-store-record`
- `allow-save`
-### Permission Table
+## Permission Table
diff --git a/plugins/updater/Cargo.toml b/plugins/updater/Cargo.toml
index 8d77b4e6a..c9bad3c51 100644
--- a/plugins/updater/Cargo.toml
+++ b/plugins/updater/Cargo.toml
@@ -40,9 +40,10 @@ infer = "0.15"
[target."cfg(target_os = \"windows\")".dependencies]
zip = { version = "2", default-features = false, optional = true }
-windows-sys = { version = "0.52.0", features = [
+windows-sys = { version = "0.59.0", features = [
"Win32_Foundation",
"Win32_UI_WindowsAndMessaging",
+ "Win32_UI_Shell",
] }
[target."cfg(target_os = \"linux\")".dependencies]
diff --git a/plugins/updater/package.json b/plugins/updater/package.json
index 425d40f7c..86efc62b6 100644
--- a/plugins/updater/package.json
+++ b/plugins/updater/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/updater/permissions/autogenerated/reference.md b/plugins/updater/permissions/autogenerated/reference.md
index 0137b4df4..41f108699 100644
--- a/plugins/updater/permissions/autogenerated/reference.md
+++ b/plugins/updater/permissions/autogenerated/reference.md
@@ -15,7 +15,7 @@ is enabled.
- `allow-install`
- `allow-download-and-install`
-### Permission Table
+## Permission Table
diff --git a/plugins/updater/src/updater.rs b/plugins/updater/src/updater.rs
index af94f0246..45d5d25d6 100644
--- a/plugins/updater/src/updater.rs
+++ b/plugins/updater/src/updater.rs
@@ -647,7 +647,7 @@ impl Update {
unsafe {
ShellExecuteW(
- 0,
+ std::ptr::null_mut(),
w!("open"),
file.as_ptr(),
parameters.as_ptr(),
diff --git a/plugins/upload/package.json b/plugins/upload/package.json
index d7ac9c9e8..02d1d002b 100644
--- a/plugins/upload/package.json
+++ b/plugins/upload/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/upload/permissions/autogenerated/reference.md b/plugins/upload/permissions/autogenerated/reference.md
index b7ca687f9..10a310cb6 100644
--- a/plugins/upload/permissions/autogenerated/reference.md
+++ b/plugins/upload/permissions/autogenerated/reference.md
@@ -12,7 +12,7 @@ All operations are enabled by default.
- `allow-upload`
- `allow-download`
-### Permission Table
+## Permission Table
diff --git a/plugins/websocket/package.json b/plugins/websocket/package.json
index 0e5fc0156..8426b265f 100644
--- a/plugins/websocket/package.json
+++ b/plugins/websocket/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/websocket/permissions/autogenerated/reference.md b/plugins/websocket/permissions/autogenerated/reference.md
index 48ce4ec2f..a1f05e8fb 100644
--- a/plugins/websocket/permissions/autogenerated/reference.md
+++ b/plugins/websocket/permissions/autogenerated/reference.md
@@ -5,7 +5,7 @@ Allows connecting and sending data to a WebSocket server
- `allow-connect`
- `allow-send`
-### Permission Table
+## Permission Table
diff --git a/plugins/window-state/api-iife.js b/plugins/window-state/api-iife.js
index f85cf5edf..dcb20c583 100644
--- a/plugins/window-state/api-iife.js
+++ b/plugins/window-state/api-iife.js
@@ -1 +1 @@
-if("__TAURI__"in window){var __TAURI_PLUGIN_WINDOW_STATE__=function(e){"use strict";var t,i,n,a;function l(e,t=!1){return window.__TAURI_INTERNALS__.transformCallback(e,t)}async function s(e,t={},i){return window.__TAURI_INTERNALS__.invoke(e,t,i)}"function"==typeof SuppressedError&&SuppressedError;class r{get rid(){return function(e,t,i,n){if("a"===i&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)}(this,t,"f")}constructor(e){t.set(this,void 0),function(e,t,i,n,a){if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");t.set(e,i)}(this,t,e)}async close(){return s("plugin:resources|close",{rid:this.rid})}}t=new WeakMap;class o{constructor(e,t){this.type="Logical",this.width=e,this.height=t}}class u{constructor(e,t){this.type="Physical",this.width=e,this.height=t}toLogical(e){return new o(this.width/e,this.height/e)}}class c{constructor(e,t){this.type="Logical",this.x=e,this.y=t}}class d{constructor(e,t){this.type="Physical",this.x=e,this.y=t}toLogical(e){return new c(this.x/e,this.y/e)}}async function w(e,t){await s("plugin:event|unlisten",{event:e,eventId:t})}async function h(e,t,i){var n;const a="string"==typeof(null==i?void 0:i.target)?{kind:"AnyLabel",label:i.target}:null!==(n=null==i?void 0:i.target)&&void 0!==n?n:{kind:"Any"};return s("plugin:event|listen",{event:e,target:a,handler:l(t)}).then((t=>async()=>w(e,t)))}!function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_CREATED="tauri://window-created",e.WEBVIEW_CREATED="tauri://webview-created",e.DRAG_ENTER="tauri://drag-enter",e.DRAG_OVER="tauri://drag-over",e.DRAG_DROP="tauri://drag-drop",e.DRAG_LEAVE="tauri://drag-leave"}(i||(i={}));class b extends r{constructor(e){super(e)}static async new(e,t,i){return s("plugin:image|new",{rgba:y(e),width:t,height:i}).then((e=>new b(e)))}static async fromBytes(e){return s("plugin:image|from_bytes",{bytes:y(e)}).then((e=>new b(e)))}static async fromPath(e){return s("plugin:image|from_path",{path:e}).then((e=>new b(e)))}async rgba(){return s("plugin:image|rgba",{rid:this.rid}).then((e=>new Uint8Array(e)))}async size(){return s("plugin:image|size",{rid:this.rid})}}function y(e){return null==e?null:"string"==typeof e?e:e instanceof Uint8Array?Array.from(e):e instanceof ArrayBuffer?Array.from(new Uint8Array(e)):e instanceof b?e.rid:e}!function(e){e[e.Critical=1]="Critical",e[e.Informational=2]="Informational"}(n||(n={}));class p{constructor(e){this._preventDefault=!1,this.event=e.event,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}function g(){return new v(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}function _(){return window.__TAURI_INTERNALS__.metadata.windows.map((e=>new v(e.label,{skip:!0})))}!function(e){e.None="none",e.Normal="normal",e.Indeterminate="indeterminate",e.Paused="paused",e.Error="error"}(a||(a={}));const m=["tauri://created","tauri://error"];class v{constructor(e,t={}){var i;this.label=e,this.listeners=Object.create(null),(null==t?void 0:t.skip)||s("plugin:window|create",{options:{...t,parent:"string"==typeof t.parent?t.parent:null===(i=t.parent)||void 0===i?void 0:i.label,label:e}}).then((async()=>this.emit("tauri://created"))).catch((async e=>this.emit("tauri://error",e)))}static getByLabel(e){var t;return null!==(t=_().find((t=>t.label===e)))&&void 0!==t?t:null}static getCurrent(){return g()}static getAll(){return _()}static async getFocusedWindow(){for(const e of _())if(await e.isFocused())return e;return null}async listen(e,t){return this._handleTauriEvent(e,t)?()=>{const i=this.listeners[e];i.splice(i.indexOf(t),1)}:h(e,t,{target:{kind:"Window",label:this.label}})}async once(e,t){return this._handleTauriEvent(e,t)?()=>{const i=this.listeners[e];i.splice(i.indexOf(t),1)}:async function(e,t,i){return h(e,(i=>{w(e,i.id),t(i)}),i)}(e,t,{target:{kind:"Window",label:this.label}})}async emit(e,t){if(!m.includes(e))return async function(e,t){await s("plugin:event|emit",{event:e,payload:t})}(e,t);for(const i of this.listeners[e]||[])i({event:e,id:-1,payload:t})}async emitTo(e,t,i){if(!m.includes(t))return async function(e,t,i){const n="string"==typeof e?{kind:"AnyLabel",label:e}:e;await s("plugin:event|emit_to",{target:n,event:t,payload:i})}(e,t,i);for(const e of this.listeners[t]||[])e({event:t,id:-1,payload:i})}_handleTauriEvent(e,t){return!!m.includes(e)&&(e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t],!0)}async scaleFactor(){return s("plugin:window|scale_factor",{label:this.label})}async innerPosition(){return s("plugin:window|inner_position",{label:this.label}).then((({x:e,y:t})=>new d(e,t)))}async outerPosition(){return s("plugin:window|outer_position",{label:this.label}).then((({x:e,y:t})=>new d(e,t)))}async innerSize(){return s("plugin:window|inner_size",{label:this.label}).then((({width:e,height:t})=>new u(e,t)))}async outerSize(){return s("plugin:window|outer_size",{label:this.label}).then((({width:e,height:t})=>new u(e,t)))}async isFullscreen(){return s("plugin:window|is_fullscreen",{label:this.label})}async isMinimized(){return s("plugin:window|is_minimized",{label:this.label})}async isMaximized(){return s("plugin:window|is_maximized",{label:this.label})}async isFocused(){return s("plugin:window|is_focused",{label:this.label})}async isDecorated(){return s("plugin:window|is_decorated",{label:this.label})}async isResizable(){return s("plugin:window|is_resizable",{label:this.label})}async isMaximizable(){return s("plugin:window|is_maximizable",{label:this.label})}async isMinimizable(){return s("plugin:window|is_minimizable",{label:this.label})}async isClosable(){return s("plugin:window|is_closable",{label:this.label})}async isVisible(){return s("plugin:window|is_visible",{label:this.label})}async title(){return s("plugin:window|title",{label:this.label})}async theme(){return s("plugin:window|theme",{label:this.label})}async center(){return s("plugin:window|center",{label:this.label})}async requestUserAttention(e){let t=null;return e&&(t=e===n.Critical?{type:"Critical"}:{type:"Informational"}),s("plugin:window|request_user_attention",{label:this.label,value:t})}async setResizable(e){return s("plugin:window|set_resizable",{label:this.label,value:e})}async setMaximizable(e){return s("plugin:window|set_maximizable",{label:this.label,value:e})}async setMinimizable(e){return s("plugin:window|set_minimizable",{label:this.label,value:e})}async setClosable(e){return s("plugin:window|set_closable",{label:this.label,value:e})}async setTitle(e){return s("plugin:window|set_title",{label:this.label,value:e})}async maximize(){return s("plugin:window|maximize",{label:this.label})}async unmaximize(){return s("plugin:window|unmaximize",{label:this.label})}async toggleMaximize(){return s("plugin:window|toggle_maximize",{label:this.label})}async minimize(){return s("plugin:window|minimize",{label:this.label})}async unminimize(){return s("plugin:window|unminimize",{label:this.label})}async show(){return s("plugin:window|show",{label:this.label})}async hide(){return s("plugin:window|hide",{label:this.label})}async close(){return s("plugin:window|close",{label:this.label})}async destroy(){return s("plugin:window|destroy",{label:this.label})}async setDecorations(e){return s("plugin:window|set_decorations",{label:this.label,value:e})}async setShadow(e){return s("plugin:window|set_shadow",{label:this.label,value:e})}async setEffects(e){return s("plugin:window|set_effects",{label:this.label,value:e})}async clearEffects(){return s("plugin:window|set_effects",{label:this.label,value:null})}async setAlwaysOnTop(e){return s("plugin:window|set_always_on_top",{label:this.label,value:e})}async setAlwaysOnBottom(e){return s("plugin:window|set_always_on_bottom",{label:this.label,value:e})}async setContentProtected(e){return s("plugin:window|set_content_protected",{label:this.label,value:e})}async setSize(e){if(!e||"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");const t={};return t[`${e.type}`]={width:e.width,height:e.height},s("plugin:window|set_size",{label:this.label,value:t})}async setMinSize(e){if(e&&"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");let t=null;return e&&(t={},t[`${e.type}`]={width:e.width,height:e.height}),s("plugin:window|set_min_size",{label:this.label,value:t})}async setMaxSize(e){if(e&&"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");let t=null;return e&&(t={},t[`${e.type}`]={width:e.width,height:e.height}),s("plugin:window|set_max_size",{label:this.label,value:t})}async setSizeConstraints(e){function t(e){return e?{Logical:e}:null}return s("plugin:window|set_size_constraints",{label:this.label,value:{minWidth:t(null==e?void 0:e.minWidth),minHeight:t(null==e?void 0:e.minHeight),maxWidth:t(null==e?void 0:e.maxWidth),maxHeight:t(null==e?void 0:e.maxHeight)}})}async setPosition(e){if(!e||"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");const t={};return t[`${e.type}`]={x:e.x,y:e.y},s("plugin:window|set_position",{label:this.label,value:t})}async setFullscreen(e){return s("plugin:window|set_fullscreen",{label:this.label,value:e})}async setFocus(){return s("plugin:window|set_focus",{label:this.label})}async setIcon(e){return s("plugin:window|set_icon",{label:this.label,value:y(e)})}async setSkipTaskbar(e){return s("plugin:window|set_skip_taskbar",{label:this.label,value:e})}async setCursorGrab(e){return s("plugin:window|set_cursor_grab",{label:this.label,value:e})}async setCursorVisible(e){return s("plugin:window|set_cursor_visible",{label:this.label,value:e})}async setCursorIcon(e){return s("plugin:window|set_cursor_icon",{label:this.label,value:e})}async setCursorPosition(e){if(!e||"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");const t={};return t[`${e.type}`]={x:e.x,y:e.y},s("plugin:window|set_cursor_position",{label:this.label,value:t})}async setIgnoreCursorEvents(e){return s("plugin:window|set_ignore_cursor_events",{label:this.label,value:e})}async startDragging(){return s("plugin:window|start_dragging",{label:this.label})}async startResizeDragging(e){return s("plugin:window|start_resize_dragging",{label:this.label,value:e})}async setProgressBar(e){return s("plugin:window|set_progress_bar",{label:this.label,value:e})}async setVisibleOnAllWorkspaces(e){return s("plugin:window|set_visible_on_all_workspaces",{label:this.label,value:e})}async setTitleBarStyle(e){return s("plugin:window|set_title_bar_style",{label:this.label,value:e})}async onResized(e){return this.listen(i.WINDOW_RESIZED,(t=>{var i;t.payload=(i=t.payload,new u(i.width,i.height)),e(t)}))}async onMoved(e){return this.listen(i.WINDOW_MOVED,(t=>{t.payload=I(t.payload),e(t)}))}async onCloseRequested(e){return this.listen(i.WINDOW_CLOSE_REQUESTED,(async t=>{const i=new p(t);await e(i),i.isPreventDefault()||await this.destroy()}))}async onDragDropEvent(e){const t=await this.listen(i.DRAG_ENTER,(t=>{e({...t,payload:{type:"enter",paths:t.payload.paths,position:I(t.payload.position)}})})),n=await this.listen(i.DRAG_OVER,(t=>{e({...t,payload:{type:"over",position:I(t.payload.position)}})})),a=await this.listen(i.DRAG_DROP,(t=>{e({...t,payload:{type:"drop",paths:t.payload.paths,position:I(t.payload.position)}})})),l=await this.listen(i.DRAG_LEAVE,(t=>{e({...t,payload:{type:"leave"}})}));return()=>{t(),a(),n(),l()}}async onFocusChanged(e){const t=await this.listen(i.WINDOW_FOCUS,(t=>{e({...t,payload:!0})})),n=await this.listen(i.WINDOW_BLUR,(t=>{e({...t,payload:!1})}));return()=>{t(),n()}}async onScaleChanged(e){return this.listen(i.WINDOW_SCALE_FACTOR_CHANGED,e)}async onThemeChanged(e){return this.listen(i.WINDOW_THEME_CHANGED,e)}}var f,E,D;function I(e){return new d(e.x,e.y)}async function A(e,t){await s("plugin:window-state|restore_state",{label:e,flags:t})}return function(e){e.AppearanceBased="appearanceBased",e.Light="light",e.Dark="dark",e.MediumLight="mediumLight",e.UltraDark="ultraDark",e.Titlebar="titlebar",e.Selection="selection",e.Menu="menu",e.Popover="popover",e.Sidebar="sidebar",e.HeaderView="headerView",e.Sheet="sheet",e.WindowBackground="windowBackground",e.HudWindow="hudWindow",e.FullScreenUI="fullScreenUI",e.Tooltip="tooltip",e.ContentBackground="contentBackground",e.UnderWindowBackground="underWindowBackground",e.UnderPageBackground="underPageBackground",e.Mica="mica",e.Blur="blur",e.Acrylic="acrylic",e.Tabbed="tabbed",e.TabbedDark="tabbedDark",e.TabbedLight="tabbedLight"}(f||(f={})),function(e){e.FollowsWindowActiveState="followsWindowActiveState",e.Active="active",e.Inactive="inactive"}(E||(E={})),e.StateFlags=void 0,(D=e.StateFlags||(e.StateFlags={}))[D.SIZE=1]="SIZE",D[D.POSITION=2]="POSITION",D[D.MAXIMIZED=4]="MAXIMIZED",D[D.VISIBLE=8]="VISIBLE",D[D.DECORATIONS=16]="DECORATIONS",D[D.FULLSCREEN=32]="FULLSCREEN",D[D.ALL=63]="ALL",e.filename=async function(){return await s("plugin:window-state|filename")},e.restoreState=A,e.restoreStateCurrent=async function(e){await A(g().label,e)},e.saveWindowState=async function(e){await s("plugin:window-state|save_window_state",{flags:e})},e}({});Object.defineProperty(window.__TAURI__,"windowState",{value:__TAURI_PLUGIN_WINDOW_STATE__})}
+if("__TAURI__"in window){var __TAURI_PLUGIN_WINDOW_STATE__=function(e){"use strict";var t,i,n,a;function l(e,t=!1){return window.__TAURI_INTERNALS__.transformCallback(e,t)}async function s(e,t={},i){return window.__TAURI_INTERNALS__.invoke(e,t,i)}"function"==typeof SuppressedError&&SuppressedError;class r{get rid(){return function(e,t,i,n){if("a"===i&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===i?n:"a"===i?n.call(e):n?n.value:t.get(e)}(this,t,"f")}constructor(e){t.set(this,void 0),function(e,t,i,n,a){if("function"==typeof t?e!==t||!a:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");t.set(e,i)}(this,t,e)}async close(){return s("plugin:resources|close",{rid:this.rid})}}t=new WeakMap;class o{constructor(e,t){this.type="Logical",this.width=e,this.height=t}}class u{constructor(e,t){this.type="Physical",this.width=e,this.height=t}toLogical(e){return new o(this.width/e,this.height/e)}}class c{constructor(e,t){this.type="Logical",this.x=e,this.y=t}}class d{constructor(e,t){this.type="Physical",this.x=e,this.y=t}toLogical(e){return new c(this.x/e,this.y/e)}}async function w(e,t){await s("plugin:event|unlisten",{event:e,eventId:t})}async function h(e,t,i){var n;const a="string"==typeof(null==i?void 0:i.target)?{kind:"AnyLabel",label:i.target}:null!==(n=null==i?void 0:i.target)&&void 0!==n?n:{kind:"Any"};return s("plugin:event|listen",{event:e,target:a,handler:l(t)}).then((t=>async()=>w(e,t)))}!function(e){e.WINDOW_RESIZED="tauri://resize",e.WINDOW_MOVED="tauri://move",e.WINDOW_CLOSE_REQUESTED="tauri://close-requested",e.WINDOW_DESTROYED="tauri://destroyed",e.WINDOW_FOCUS="tauri://focus",e.WINDOW_BLUR="tauri://blur",e.WINDOW_SCALE_FACTOR_CHANGED="tauri://scale-change",e.WINDOW_THEME_CHANGED="tauri://theme-changed",e.WINDOW_CREATED="tauri://window-created",e.WEBVIEW_CREATED="tauri://webview-created",e.DRAG_ENTER="tauri://drag-enter",e.DRAG_OVER="tauri://drag-over",e.DRAG_DROP="tauri://drag-drop",e.DRAG_LEAVE="tauri://drag-leave"}(i||(i={}));class b extends r{constructor(e){super(e)}static async new(e,t,i){return s("plugin:image|new",{rgba:y(e),width:t,height:i}).then((e=>new b(e)))}static async fromBytes(e){return s("plugin:image|from_bytes",{bytes:y(e)}).then((e=>new b(e)))}static async fromPath(e){return s("plugin:image|from_path",{path:e}).then((e=>new b(e)))}async rgba(){return s("plugin:image|rgba",{rid:this.rid}).then((e=>new Uint8Array(e)))}async size(){return s("plugin:image|size",{rid:this.rid})}}function y(e){return null==e?null:"string"==typeof e?e:e instanceof Uint8Array?Array.from(e):e instanceof ArrayBuffer?Array.from(new Uint8Array(e)):e instanceof b?e.rid:e}!function(e){e[e.Critical=1]="Critical",e[e.Informational=2]="Informational"}(n||(n={}));class p{constructor(e){this._preventDefault=!1,this.event=e.event,this.id=e.id}preventDefault(){this._preventDefault=!0}isPreventDefault(){return this._preventDefault}}function g(){return new v(window.__TAURI_INTERNALS__.metadata.currentWindow.label,{skip:!0})}async function _(){return s("plugin:window|get_all_windows").then((e=>e.map((e=>new v(e,{skip:!0})))))}!function(e){e.None="none",e.Normal="normal",e.Indeterminate="indeterminate",e.Paused="paused",e.Error="error"}(a||(a={}));const m=["tauri://created","tauri://error"];class v{constructor(e,t={}){var i;this.label=e,this.listeners=Object.create(null),(null==t?void 0:t.skip)||s("plugin:window|create",{options:{...t,parent:"string"==typeof t.parent?t.parent:null===(i=t.parent)||void 0===i?void 0:i.label,label:e}}).then((async()=>this.emit("tauri://created"))).catch((async e=>this.emit("tauri://error",e)))}static async getByLabel(e){var t;return null!==(t=(await _()).find((t=>t.label===e)))&&void 0!==t?t:null}static getCurrent(){return g()}static async getAll(){return _()}static async getFocusedWindow(){for(const e of await _())if(await e.isFocused())return e;return null}async listen(e,t){return this._handleTauriEvent(e,t)?()=>{const i=this.listeners[e];i.splice(i.indexOf(t),1)}:h(e,t,{target:{kind:"Window",label:this.label}})}async once(e,t){return this._handleTauriEvent(e,t)?()=>{const i=this.listeners[e];i.splice(i.indexOf(t),1)}:async function(e,t,i){return h(e,(i=>{w(e,i.id),t(i)}),i)}(e,t,{target:{kind:"Window",label:this.label}})}async emit(e,t){if(!m.includes(e))return async function(e,t){await s("plugin:event|emit",{event:e,payload:t})}(e,t);for(const i of this.listeners[e]||[])i({event:e,id:-1,payload:t})}async emitTo(e,t,i){if(!m.includes(t))return async function(e,t,i){const n="string"==typeof e?{kind:"AnyLabel",label:e}:e;await s("plugin:event|emit_to",{target:n,event:t,payload:i})}(e,t,i);for(const e of this.listeners[t]||[])e({event:t,id:-1,payload:i})}_handleTauriEvent(e,t){return!!m.includes(e)&&(e in this.listeners?this.listeners[e].push(t):this.listeners[e]=[t],!0)}async scaleFactor(){return s("plugin:window|scale_factor",{label:this.label})}async innerPosition(){return s("plugin:window|inner_position",{label:this.label}).then((({x:e,y:t})=>new d(e,t)))}async outerPosition(){return s("plugin:window|outer_position",{label:this.label}).then((({x:e,y:t})=>new d(e,t)))}async innerSize(){return s("plugin:window|inner_size",{label:this.label}).then((({width:e,height:t})=>new u(e,t)))}async outerSize(){return s("plugin:window|outer_size",{label:this.label}).then((({width:e,height:t})=>new u(e,t)))}async isFullscreen(){return s("plugin:window|is_fullscreen",{label:this.label})}async isMinimized(){return s("plugin:window|is_minimized",{label:this.label})}async isMaximized(){return s("plugin:window|is_maximized",{label:this.label})}async isFocused(){return s("plugin:window|is_focused",{label:this.label})}async isDecorated(){return s("plugin:window|is_decorated",{label:this.label})}async isResizable(){return s("plugin:window|is_resizable",{label:this.label})}async isMaximizable(){return s("plugin:window|is_maximizable",{label:this.label})}async isMinimizable(){return s("plugin:window|is_minimizable",{label:this.label})}async isClosable(){return s("plugin:window|is_closable",{label:this.label})}async isVisible(){return s("plugin:window|is_visible",{label:this.label})}async title(){return s("plugin:window|title",{label:this.label})}async theme(){return s("plugin:window|theme",{label:this.label})}async center(){return s("plugin:window|center",{label:this.label})}async requestUserAttention(e){let t=null;return e&&(t=e===n.Critical?{type:"Critical"}:{type:"Informational"}),s("plugin:window|request_user_attention",{label:this.label,value:t})}async setResizable(e){return s("plugin:window|set_resizable",{label:this.label,value:e})}async setMaximizable(e){return s("plugin:window|set_maximizable",{label:this.label,value:e})}async setMinimizable(e){return s("plugin:window|set_minimizable",{label:this.label,value:e})}async setClosable(e){return s("plugin:window|set_closable",{label:this.label,value:e})}async setTitle(e){return s("plugin:window|set_title",{label:this.label,value:e})}async maximize(){return s("plugin:window|maximize",{label:this.label})}async unmaximize(){return s("plugin:window|unmaximize",{label:this.label})}async toggleMaximize(){return s("plugin:window|toggle_maximize",{label:this.label})}async minimize(){return s("plugin:window|minimize",{label:this.label})}async unminimize(){return s("plugin:window|unminimize",{label:this.label})}async show(){return s("plugin:window|show",{label:this.label})}async hide(){return s("plugin:window|hide",{label:this.label})}async close(){return s("plugin:window|close",{label:this.label})}async destroy(){return s("plugin:window|destroy",{label:this.label})}async setDecorations(e){return s("plugin:window|set_decorations",{label:this.label,value:e})}async setShadow(e){return s("plugin:window|set_shadow",{label:this.label,value:e})}async setEffects(e){return s("plugin:window|set_effects",{label:this.label,value:e})}async clearEffects(){return s("plugin:window|set_effects",{label:this.label,value:null})}async setAlwaysOnTop(e){return s("plugin:window|set_always_on_top",{label:this.label,value:e})}async setAlwaysOnBottom(e){return s("plugin:window|set_always_on_bottom",{label:this.label,value:e})}async setContentProtected(e){return s("plugin:window|set_content_protected",{label:this.label,value:e})}async setSize(e){if(!e||"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");const t={};return t[`${e.type}`]={width:e.width,height:e.height},s("plugin:window|set_size",{label:this.label,value:t})}async setMinSize(e){if(e&&"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");let t=null;return e&&(t={},t[`${e.type}`]={width:e.width,height:e.height}),s("plugin:window|set_min_size",{label:this.label,value:t})}async setMaxSize(e){if(e&&"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `size` argument must be either a LogicalSize or a PhysicalSize instance");let t=null;return e&&(t={},t[`${e.type}`]={width:e.width,height:e.height}),s("plugin:window|set_max_size",{label:this.label,value:t})}async setSizeConstraints(e){function t(e){return e?{Logical:e}:null}return s("plugin:window|set_size_constraints",{label:this.label,value:{minWidth:t(null==e?void 0:e.minWidth),minHeight:t(null==e?void 0:e.minHeight),maxWidth:t(null==e?void 0:e.maxWidth),maxHeight:t(null==e?void 0:e.maxHeight)}})}async setPosition(e){if(!e||"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");const t={};return t[`${e.type}`]={x:e.x,y:e.y},s("plugin:window|set_position",{label:this.label,value:t})}async setFullscreen(e){return s("plugin:window|set_fullscreen",{label:this.label,value:e})}async setFocus(){return s("plugin:window|set_focus",{label:this.label})}async setIcon(e){return s("plugin:window|set_icon",{label:this.label,value:y(e)})}async setSkipTaskbar(e){return s("plugin:window|set_skip_taskbar",{label:this.label,value:e})}async setCursorGrab(e){return s("plugin:window|set_cursor_grab",{label:this.label,value:e})}async setCursorVisible(e){return s("plugin:window|set_cursor_visible",{label:this.label,value:e})}async setCursorIcon(e){return s("plugin:window|set_cursor_icon",{label:this.label,value:e})}async setCursorPosition(e){if(!e||"Logical"!==e.type&&"Physical"!==e.type)throw new Error("the `position` argument must be either a LogicalPosition or a PhysicalPosition instance");const t={};return t[`${e.type}`]={x:e.x,y:e.y},s("plugin:window|set_cursor_position",{label:this.label,value:t})}async setIgnoreCursorEvents(e){return s("plugin:window|set_ignore_cursor_events",{label:this.label,value:e})}async startDragging(){return s("plugin:window|start_dragging",{label:this.label})}async startResizeDragging(e){return s("plugin:window|start_resize_dragging",{label:this.label,value:e})}async setProgressBar(e){return s("plugin:window|set_progress_bar",{label:this.label,value:e})}async setVisibleOnAllWorkspaces(e){return s("plugin:window|set_visible_on_all_workspaces",{label:this.label,value:e})}async setTitleBarStyle(e){return s("plugin:window|set_title_bar_style",{label:this.label,value:e})}async onResized(e){return this.listen(i.WINDOW_RESIZED,(t=>{var i;t.payload=(i=t.payload,new u(i.width,i.height)),e(t)}))}async onMoved(e){return this.listen(i.WINDOW_MOVED,(t=>{t.payload=I(t.payload),e(t)}))}async onCloseRequested(e){return this.listen(i.WINDOW_CLOSE_REQUESTED,(async t=>{const i=new p(t);await e(i),i.isPreventDefault()||await this.destroy()}))}async onDragDropEvent(e){const t=await this.listen(i.DRAG_ENTER,(t=>{e({...t,payload:{type:"enter",paths:t.payload.paths,position:I(t.payload.position)}})})),n=await this.listen(i.DRAG_OVER,(t=>{e({...t,payload:{type:"over",position:I(t.payload.position)}})})),a=await this.listen(i.DRAG_DROP,(t=>{e({...t,payload:{type:"drop",paths:t.payload.paths,position:I(t.payload.position)}})})),l=await this.listen(i.DRAG_LEAVE,(t=>{e({...t,payload:{type:"leave"}})}));return()=>{t(),a(),n(),l()}}async onFocusChanged(e){const t=await this.listen(i.WINDOW_FOCUS,(t=>{e({...t,payload:!0})})),n=await this.listen(i.WINDOW_BLUR,(t=>{e({...t,payload:!1})}));return()=>{t(),n()}}async onScaleChanged(e){return this.listen(i.WINDOW_SCALE_FACTOR_CHANGED,e)}async onThemeChanged(e){return this.listen(i.WINDOW_THEME_CHANGED,e)}}var f,E,D;function I(e){return new d(e.x,e.y)}async function S(e,t){await s("plugin:window-state|restore_state",{label:e,flags:t})}return function(e){e.AppearanceBased="appearanceBased",e.Light="light",e.Dark="dark",e.MediumLight="mediumLight",e.UltraDark="ultraDark",e.Titlebar="titlebar",e.Selection="selection",e.Menu="menu",e.Popover="popover",e.Sidebar="sidebar",e.HeaderView="headerView",e.Sheet="sheet",e.WindowBackground="windowBackground",e.HudWindow="hudWindow",e.FullScreenUI="fullScreenUI",e.Tooltip="tooltip",e.ContentBackground="contentBackground",e.UnderWindowBackground="underWindowBackground",e.UnderPageBackground="underPageBackground",e.Mica="mica",e.Blur="blur",e.Acrylic="acrylic",e.Tabbed="tabbed",e.TabbedDark="tabbedDark",e.TabbedLight="tabbedLight"}(f||(f={})),function(e){e.FollowsWindowActiveState="followsWindowActiveState",e.Active="active",e.Inactive="inactive"}(E||(E={})),e.StateFlags=void 0,(D=e.StateFlags||(e.StateFlags={}))[D.SIZE=1]="SIZE",D[D.POSITION=2]="POSITION",D[D.MAXIMIZED=4]="MAXIMIZED",D[D.VISIBLE=8]="VISIBLE",D[D.DECORATIONS=16]="DECORATIONS",D[D.FULLSCREEN=32]="FULLSCREEN",D[D.ALL=63]="ALL",e.filename=async function(){return await s("plugin:window-state|filename")},e.restoreState=S,e.restoreStateCurrent=async function(e){await S(g().label,e)},e.saveWindowState=async function(e){await s("plugin:window-state|save_window_state",{flags:e})},e}({});Object.defineProperty(window.__TAURI__,"windowState",{value:__TAURI_PLUGIN_WINDOW_STATE__})}
diff --git a/plugins/window-state/package.json b/plugins/window-state/package.json
index 0fb9140ff..5cdbd4324 100644
--- a/plugins/window-state/package.json
+++ b/plugins/window-state/package.json
@@ -25,6 +25,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "^2.0.0-rc.0"
+ "@tauri-apps/api": "^2.0.0-rc.1"
}
}
diff --git a/plugins/window-state/permissions/autogenerated/reference.md b/plugins/window-state/permissions/autogenerated/reference.md
index 5875fe759..7329c2be1 100644
--- a/plugins/window-state/permissions/autogenerated/reference.md
+++ b/plugins/window-state/permissions/autogenerated/reference.md
@@ -13,7 +13,7 @@ All operations are enabled by default.
- `allow-restore-state`
- `allow-save-window-state`
-### Permission Table
+## Permission Table
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index ad34edc13..3be0089fb 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -58,8 +58,8 @@ importers:
examples/api:
dependencies:
'@tauri-apps/api':
- specifier: 2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: 2.0.0-rc.1
+ version: 2.0.0-rc.1
'@tauri-apps/plugin-barcode-scanner':
specifier: 2.0.0-rc.0
version: link:../../plugins/barcode-scanner
@@ -134,50 +134,50 @@ importers:
plugins/authenticator:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/autostart:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/barcode-scanner:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/biometric:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/cli:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/clipboard-manager:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/deep-link:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/deep-link/examples/app:
dependencies:
'@tauri-apps/api':
- specifier: 2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: 2.0.0-rc.1
+ version: 2.0.0-rc.1
'@tauri-apps/plugin-deep-link':
specifier: 2.0.0-rc.0
version: link:../..
@@ -195,80 +195,80 @@ importers:
plugins/dialog:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/fs:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/geolocation:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/global-shortcut:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/haptics:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/http:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/log:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/nfc:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/notification:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/os:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/positioner:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/process:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/shell:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/single-instance/examples/vanilla:
devDependencies:
@@ -279,19 +279,19 @@ importers:
plugins/sql:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/store:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/store/examples/AppSettingsManager:
devDependencies:
'@tauri-apps/cli':
- specifier: ^2.0.0-rc.0
+ specifier: 2.0.0-rc.3
version: 2.0.0-rc.3
typescript:
specifier: ^5.3.3
@@ -303,26 +303,26 @@ importers:
plugins/stronghold:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/updater:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/upload:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/websocket:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
plugins/websocket/examples/tauri-app:
dependencies:
@@ -343,8 +343,8 @@ importers:
plugins/window-state:
dependencies:
'@tauri-apps/api':
- specifier: ^2.0.0-rc.0
- version: 2.0.0-rc.0
+ specifier: ^2.0.0-rc.1
+ version: 2.0.0-rc.1
packages:
@@ -1050,9 +1050,8 @@ packages:
svelte: ^4.0.0 || ^5.0.0-next.0
vite: ^5.0.0
- '@tauri-apps/api@2.0.0-rc.0':
- resolution: {integrity: sha512-v454Qs3REHc3Za59U+/eSmBsdmF+3NE5+76+lFDaitVqN4ZglDHENDaMARYKGJVZuxiSkzyqG0SeG7lLQjVkPA==}
- engines: {node: '>= 18.18', npm: '>= 6.6.0', yarn: '>= 1.19.1'}
+ '@tauri-apps/api@2.0.0-rc.1':
+ resolution: {integrity: sha512-qubAWjM9sqofUh7fe+7UAbBY3wlkfCyxm+PNRYpq9mnNng7lvSQq3sYsFUEB12AYvgGARZSb54VMVUvRuVLi7w==}
'@tauri-apps/cli-darwin-arm64@2.0.0-rc.3':
resolution: {integrity: sha512-szYCSr/ChbCF+S6Wnr15TYpI2cZR07d+AQOiFGuScP0preM8Pbsk/sb0hfLwqzepjVFFNVWQba9sG7FEW2Y2XA==}
@@ -2778,9 +2777,9 @@ snapshots:
- encoding
- mocha
- '@covector/assemble@0.12.0':
+ '@covector/assemble@0.12.0(mocha@10.7.3)':
dependencies:
- '@covector/command': 0.8.0
+ '@covector/command': 0.8.0(mocha@10.7.3)
'@covector/files': 0.8.0
effection: 2.0.8(mocha@10.7.3)
js-yaml: 4.1.0
@@ -2791,9 +2790,10 @@ snapshots:
unified: 9.2.2
transitivePeerDependencies:
- encoding
+ - mocha
- supports-color
- '@covector/changelog@0.12.0':
+ '@covector/changelog@0.12.0(mocha@10.7.3)':
dependencies:
'@covector/files': 0.8.0
effection: 2.0.8(mocha@10.7.3)
@@ -2803,14 +2803,16 @@ snapshots:
unified: 9.2.2
transitivePeerDependencies:
- encoding
+ - mocha
- supports-color
- '@covector/command@0.8.0':
+ '@covector/command@0.8.0(mocha@10.7.3)':
dependencies:
- '@effection/process': 2.1.4
+ '@effection/process': 2.1.4(mocha@10.7.3)
effection: 2.0.8(mocha@10.7.3)
transitivePeerDependencies:
- encoding
+ - mocha
'@covector/files@0.8.0':
dependencies:
@@ -2857,10 +2859,8 @@ snapshots:
dependencies:
effection: 2.0.8(mocha@10.7.3)
mocha: 10.7.3
- transitivePeerDependencies:
- - encoding
- '@effection/process@2.1.4':
+ '@effection/process@2.1.4(mocha@10.7.3)':
dependencies:
cross-spawn: 7.0.3
ctrlc-windows: 2.1.0
@@ -2868,6 +2868,7 @@ snapshots:
shellwords: 0.1.1
transitivePeerDependencies:
- encoding
+ - mocha
'@effection/stream@2.0.6':
dependencies:
@@ -3221,7 +3222,7 @@ snapshots:
transitivePeerDependencies:
- supports-color
- '@tauri-apps/api@2.0.0-rc.0': {}
+ '@tauri-apps/api@2.0.0-rc.1': {}
'@tauri-apps/cli-darwin-arm64@2.0.0-rc.3':
optional: true
@@ -3709,9 +3710,9 @@ snapshots:
dependencies:
'@clack/prompts': 0.7.0
'@covector/apply': 0.10.0(mocha@10.7.3)
- '@covector/assemble': 0.12.0
- '@covector/changelog': 0.12.0
- '@covector/command': 0.8.0
+ '@covector/assemble': 0.12.0(mocha@10.7.3)
+ '@covector/changelog': 0.12.0(mocha@10.7.3)
+ '@covector/command': 0.8.0(mocha@10.7.3)
'@covector/files': 0.8.0
effection: 2.0.8(mocha@10.7.3)
globby: 11.1.0
diff --git a/shared/template/package.json b/shared/template/package.json
index 6cfc6bd78..4698eda48 100644
--- a/shared/template/package.json
+++ b/shared/template/package.json
@@ -24,6 +24,6 @@
"LICENSE"
],
"dependencies": {
- "@tauri-apps/api": "2.0.0-rc.0"
+ "@tauri-apps/api": "2.0.0-rc.1"
}
}