Open source Loom alternative. Beautiful, shareable screen recordings.
Rust appcapcossloommacnextjsnextjs15open-sourceossreactrecordrustscreen-capturescreen-recorderscreenshotsolidjstauritauri-apptypescriptvite
a few things
Brendan Allana47fbab747c1
diff --git a/Cargo.lock b/Cargo.lockindex 82e59e6f5..375224379 100644--- a/Cargo.lock+++ b/Cargo.lock@@ -29,6 +29,12 @@ version = "2.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627"+[[package]]+name = "ahash"+version = "0.4.8"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0453232ace82dee0dd0b4c87a59bd90f7b53b314f3e0f61fe2ee7c8a16482289"+[[package]]name = "ahash"version = "0.8.11"@@ -167,18 +173,22 @@ dependencies = [[[package]]name = "ashpd"-version = "0.8.1"+version = "0.9.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dd884d7c72877a94102c3715f3b1cd09ff4fac28221add3e57cfbe25c236d093"+checksum = "4d43c03d9e36dd40cab48435be0b09646da362c278223ca535493877b2c1dee9"dependencies = ["enumflags2","futures-channel","futures-util","rand 0.8.5",+ "raw-window-handle","serde","serde_repr","tokio","url",+ "wayland-backend",+ "wayland-client",+ "wayland-protocols","zbus",]@@ -507,9 +517,9 @@ checksum = "dc827186963e592360843fb5ba4b973e145841266c1357f7180c43526f2e5b61"[[package]]name = "bitflags"-version = "1.2.1"+version = "1.3.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "cf1de2fe8c75bc145a2f577add951f8134889b4795d47466a54a5c846d691693"+checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a"[[package]]name = "bitflags"@@ -565,9 +575,9 @@ dependencies = [[[package]]name = "brotli"-version = "3.5.0"+version = "7.0.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d640d25bc63c50fb1f0b545ffd80207d2e10a4c965530809b40ba3386825c391"+checksum = "cc97b8f16f944bba54f0433f07e30be199b6dc2bd25937444bbad560bcea29bd"dependencies = ["alloc-no-stdlib","alloc-stdlib",@@ -576,9 +586,9 @@ dependencies = [[[package]]name = "brotli-decompressor"-version = "2.5.1"+version = "4.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "4e2e4afe60d7dd600fdd3de8d0f08c2b7ec039712e3b6137ff98b7004e82de4f"+checksum = "9a45bd2e4095a8b518033b128020dd4a55aab1c0a381ba4404a472630f4bc362"dependencies = ["alloc-no-stdlib","alloc-stdlib",@@ -917,7 +927,7 @@ version = "0.20.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "0c49e86fc36d5704151f5996b7b3795385f50ce09e3be0f47a0cfde869681cf8"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","block","core-foundation 0.7.0","core-graphics 0.19.2",@@ -932,7 +942,7 @@ version = "0.25.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "f6140449f97a6e97f9511815c5632d84c8aacf8ac271ad77c559218161a1373c"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","block","cocoa-foundation 0.1.2","core-foundation 0.9.4",@@ -964,7 +974,7 @@ version = "0.1.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "8c6234cbb2e4c785b456c0644748b1ac416dd045799740356f8363dfe00c93f7"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","block","core-foundation 0.9.4","core-graphics-types 0.1.3",@@ -1067,6 +1077,17 @@ dependencies = ["unicode-segmentation",]+[[package]]+name = "cookie"+version = "0.18.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4ddef33a339a91ea89fb53151bd0a4689cfce27055c291dfa69945475d22c747"+dependencies = [+ "percent-encoding",+ "time",+ "version_check",+]+[[package]]name = "cookie-factory"version = "0.3.3"@@ -1076,6 +1097,23 @@ dependencies = ["futures",]+[[package]]+name = "cookie_store"+version = "0.21.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4934e6b7e8419148b6ef56950d277af8561060b56afd59e2aadf98b59fce6baa"+dependencies = [+ "cookie",+ "idna 0.5.0",+ "log",+ "publicsuffix",+ "serde",+ "serde_derive",+ "serde_json",+ "time",+ "url",+]+[[package]]name = "core-foundation"version = "0.7.0"@@ -1124,7 +1162,7 @@ version = "0.19.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b3889374e6ea6ab25dba90bb5d96202f61108058361f6dc72e8b03e6f8bbe923"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","core-foundation 0.7.0","foreign-types 0.3.2","libc",@@ -1136,7 +1174,7 @@ version = "0.23.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c07782be35f9e1140080c6b96f0d44b739e2278479f64e02fdab4e32dfd8b081"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","core-foundation 0.9.4","core-graphics-types 0.1.3","foreign-types 0.5.0",@@ -1175,7 +1213,7 @@ version = "0.1.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "45390e6114f68f718cc7a830514a96f903cccd70d02a8f6d9f643ac4ba45afaf"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","core-foundation 0.9.4","libc",]@@ -1222,7 +1260,7 @@ version = "0.11.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "321077172d79c662f64f5071a03120748d5bb652f5231570141be24cfcd2bace"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","core-foundation-sys 0.8.7","coreaudio-sys",]@@ -1422,6 +1460,12 @@ version = "2.6.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e8566979429cf69b49a5c740c60791108e86440e8be149bbea4fe54d2c32d6e2"+[[package]]+name = "data-url"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5c297a1c74b71ae29df00c3e22dd9534821d60eb9af5a0192823fa2acea70c2a"+[[package]]name = "dbus"version = "0.9.7"@@ -1529,6 +1573,7 @@ dependencies = ["tauri-plugin-dialog","tauri-plugin-fs","tauri-plugin-global-shortcut",+ "tauri-plugin-http","tauri-plugin-oauth","tauri-plugin-os","tauri-plugin-process",@@ -1606,6 +1651,15 @@ dependencies = ["syn 2.0.85",]+[[package]]+name = "dlib"+version = "0.5.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "330c60081dcc4c72131f8eb70510f1ac07223e5d4163db481a04a0befcffa412"+dependencies = [+ "libloading 0.8.5",+]+[[package]]name = "dlopen2"version = "0.7.0"@@ -1629,6 +1683,15 @@ dependencies = ["syn 2.0.85",]+[[package]]+name = "dlv-list"+version = "0.2.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "68df3f2b690c1b86e65ef7830956aededf3cb0a16f898f79b9a6f421a7b6211b"+dependencies = [+ "rand 0.8.5",+]+[[package]]name = "document-features"version = "0.2.10"@@ -1656,6 +1719,12 @@ dependencies = ["syn 1.0.109",]+[[package]]+name = "downcast-rs"+version = "1.2.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "75b325c5dbd37f80359721ad39aca5a29fb04c89279657cffdda8736d0c0b9d2"+[[package]]name = "dpi"version = "0.1.1"@@ -1908,6 +1977,15 @@ dependencies = ["rustc_version",]+[[package]]+name = "file-locker"+version = "1.1.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d6c3e69656680c6c3d76750b46dfa64bf07626bd2130c540d6cf2d306ba595a8"+dependencies = [+ "nix 0.29.0",+]+[[package]]name = "filetime"version = "0.2.25"@@ -1930,6 +2008,15 @@ dependencies = ["miniz_oxide 0.8.0",]+[[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.10.14"@@ -2012,6 +2099,16 @@ dependencies = ["percent-encoding",]+[[package]]+name = "freedesktop_entry_parser"+version = "1.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "db9c27b72f19a99a895f8ca89e2d26e4ef31013376e56fdafef697627306c3e4"+dependencies = [+ "nom",+ "thiserror",+]+[[package]]name = "futf"version = "0.1.5"@@ -2243,19 +2340,6 @@ dependencies = ["x11",]-[[package]]-name = "generator"-version = "0.7.5"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5cc16584ff22b460a382b7feec54b23d2908d858152e5739a120b949293bd74e"-dependencies = [- "cc",- "libc",- "log",- "rustversion",- "windows 0.48.0",-]-[[package]]name = "generic-array"version = "0.14.7"@@ -2268,12 +2352,12 @@ dependencies = [[[package]]name = "gethostname"-version = "0.4.3"+version = "0.5.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "0176e0459c2e4a1fe232f984bca6890e681076abb9934f6cea7c326f3fc47818"+checksum = "dc3655aa6818d65bc620d6911f05aa7b6aeb596291e1e9f79e52df85583d1e30"dependencies = [- "libc",- "windows-targets 0.48.5",+ "rustix",+ "windows-targets 0.52.6",][[package]]@@ -2414,19 +2498,18 @@ checksum = "d2fabcfbdc87f4758337ca535fb41a6d701b65693ce38287d856d1674551ec9b"[[package]]name = "global-hotkey"-version = "0.5.5"+version = "0.6.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b436093d1598b05e3b7fddc097b2bad32763f53a1beb25ab6f9718c6a60acd09"+checksum = "b00d88f1be7bf4cd2e61623ce08e84be2dfa4eab458e5d632d3dab95f16c1f64"dependencies = [- "bitflags 2.6.0",- "cocoa 0.25.0","crossbeam-channel","keyboard-types",- "objc",+ "objc2",+ "objc2-app-kit","once_cell","serde","thiserror",- "windows-sys 0.52.0",+ "windows-sys 0.59.0","x11-dl",]@@ -2595,6 +2678,15 @@ dependencies = ["crunchy",]+[[package]]+name = "hashbrown"+version = "0.9.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "d7afe4a420e3fe79967a00898cc1f4db7c8a49a9333a29f8a4bd76a253d5cd04"+dependencies = [+ "ahash 0.4.8",+]+[[package]]name = "hashbrown"version = "0.12.3"@@ -2607,7 +2699,7 @@ version = "0.14.5"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1"dependencies = [- "ahash",+ "ahash 0.8.11","allocator-api2",]@@ -2848,6 +2940,16 @@ version = "1.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39"+[[package]]+name = "idna"+version = "0.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "e14ddfc70884202db2244c223200c204c2bda1bc6e0998d11b5e024d657209e6"+dependencies = [+ "unicode-bidi",+ "unicode-normalization",+]+[[package]]name = "idna"version = "0.5.0"@@ -2868,7 +2970,6 @@ dependencies = ["byteorder","color_quant","num-traits",- "png",][[package]]@@ -2934,9 +3035,9 @@ dependencies = [[[package]]name = "infer"-version = "0.15.0"+version = "0.16.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "cb33622da908807a06f9513c19b3c1ad50fab3e4137d82a78107d502075aa199"+checksum = "bc150e5ce2330295b8616ce0e3f53250e53af31759a9dbedad1621ba29151847"dependencies = ["cfb",]@@ -3013,7 +3114,7 @@ version = "1.1.2"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "ca5671e9ffce8ffba57afc24070e906da7fc4b1ba66f2cabebf61bf2ea257fcc"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","glib","javascriptcore-rs-sys",]@@ -3078,15 +3179,49 @@ dependencies = [[[package]]name = "json-patch"-version = "1.4.0"+version = "2.0.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5b1fb8864823fad91877e6caea0baca82e49e8db50f8e5c9f9a453e27d3330fc"+dependencies = [+ "jsonptr 0.4.7",+ "serde",+ "serde_json",+ "thiserror",+]++[[package]]+name = "json-patch"+version = "3.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ec9ad60d674508f3ca8f380a928cfe7b096bc729c4e2dbfe3852bc45da3ab30b"+checksum = "863726d7afb6bc2590eeff7135d923545e5e964f004c2ccf8716c25e70a86f08"dependencies = [+ "jsonptr 0.6.3","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 = "jsonptr"+version = "0.6.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "5dea2b27dd239b2556ed7a25ba842fe47fd602e7fc7433c2a8d6106d4d9edd70"+dependencies = [+ "serde",+ "serde_json",+]+[[package]]name = "keyboard-types"version = "0.7.0"@@ -3224,7 +3359,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4979f22fdb869068da03c9f7528f8297c6fd2606bc3a4affe42e6a823fdb8da4"dependencies = ["cfg-if 1.0.0",- "windows-targets 0.52.6",+ "windows-targets 0.48.5",][[package]]@@ -3266,6 +3401,29 @@ dependencies = ["system-deps",]+[[package]]+name = "linicon"+version = "2.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "4ee8c5653188a809616c97296180a0547a61dba205bcdcbdd261dbd022a25fd9"+dependencies = [+ "file-locker",+ "freedesktop_entry_parser",+ "linicon-theme",+ "memmap2",+ "thiserror",+]++[[package]]+name = "linicon-theme"+version = "1.2.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a4f8240c33bb08c5d8b8cdea87b683b05e61037aa76ff26bef40672cc6ecbb80"+dependencies = [+ "freedesktop_entry_parser",+ "rust-ini",+]+[[package]]name = "linux-raw-sys"version = "0.4.14"@@ -3294,21 +3452,6 @@ version = "0.4.22"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"-[[package]]-name = "loom"-version = "0.5.6"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ff50ecb28bb86013e935fb6683ab1f6d3a20016f123c76fd4c27470076ac30f5"-dependencies = [- "cfg-if 1.0.0",- "generator",- "scoped-tls",- "serde",- "serde_json",- "tracing",- "tracing-subscriber",-]-[[package]]name = "loop9"version = "0.1.5"@@ -3375,15 +3518,6 @@ dependencies = ["tendril",]-[[package]]-name = "matchers"-version = "0.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8263075bb86c5a1b1427b5ae862e8889656f126e9f77c484496e8b47cf5c5558"-dependencies = [- "regex-automata 0.1.10",-]-[[package]]name = "matches"version = "0.1.10"@@ -3411,6 +3545,15 @@ version = "2.7.4"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "78ca9ab1a0babb1e7d5695e3530886289c18cf2f87ec19a575a0abdce112e3a3"+[[package]]+name = "memmap2"+version = "0.5.10"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "83faa42c0a078c393f6b29d5db232d8be22776a891f8f56e5284faee4a20b327"+dependencies = [+ "libc",+]+[[package]]name = "memoffset"version = "0.9.1"@@ -3426,7 +3569,7 @@ version = "0.18.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "e198a0ee42bdbe9ef2c09d0b9426f3b2b47d90d93a4a9b0395c4cea605e92dc0"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","block","cocoa 0.20.2","core-graphics 0.19.2",@@ -3550,21 +3693,22 @@ dependencies = [[[package]]name = "muda"-version = "0.13.5"+version = "0.15.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "86b959f97c97044e4c96e32e1db292a7d594449546a3c6b77ae613dc3a5b5145"+checksum = "b18047edf23933de40835403d4b9211ffd1dcc65c0eec569df38a1fb8aebd719"dependencies = [- "cocoa 0.25.0","crossbeam-channel","dpi","gtk","keyboard-types",- "objc",+ "objc2",+ "objc2-app-kit",+ "objc2-foundation","once_cell","png","serde","thiserror",- "windows-sys 0.52.0",+ "windows-sys 0.59.0",][[package]]@@ -3625,29 +3769,30 @@ dependencies = [[[package]]name = "ndk"-version = "0.7.0"+version = "0.8.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "451422b7e4718271c8b5b3aadf5adedba43dc76312454b387e98fae0fc951aa0"+checksum = "2076a31b7010b17a38c01907c45b945e8f11495ee4dd588309718901b1f7a5b7"dependencies = [- "bitflags 1.2.1",+ "bitflags 2.6.0","jni-sys",- "ndk-sys 0.4.1+23.1.7779620",- "num_enum 0.5.11",- "raw-window-handle 0.5.2",+ "log",+ "ndk-sys 0.5.0+25.2.9519653",+ "num_enum","thiserror",][[package]]name = "ndk"-version = "0.8.0"+version = "0.9.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2076a31b7010b17a38c01907c45b945e8f11495ee4dd588309718901b1f7a5b7"+checksum = "c3f42e7bbe13d351b6bead8286a43aac9534b82bd3cc43e47037f012ebfd62d4"dependencies = ["bitflags 2.6.0","jni-sys","log",- "ndk-sys 0.5.0+25.2.9519653",- "num_enum 0.7.3",+ "ndk-sys 0.6.0+11769913",+ "num_enum",+ "raw-window-handle","thiserror",]@@ -3659,18 +3804,18 @@ checksum = "27b02d87554356db9e9a873add8782d4ea6e3e58ea071a9adb9a2e8ddb884a8b"[[package]]name = "ndk-sys"-version = "0.4.1+23.1.7779620"+version = "0.5.0+25.2.9519653"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3cf2aae958bd232cac5069850591667ad422d263686d75b52a065f9badeee5a3"+checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691"dependencies = ["jni-sys",][[package]]name = "ndk-sys"-version = "0.5.0+25.2.9519653"+version = "0.6.0+11769913"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8c196769dd60fd4f363e11d948139556a344e79d451aeb2fa2fd040738ef7691"+checksum = "ee6cda3051665f1fb8d9e08fc35c96d5a244fb1be711a03b71118828afc9a873"dependencies = ["jni-sys",]@@ -3777,16 +3922,6 @@ dependencies = ["winapi",]-[[package]]-name = "nu-ansi-term"-version = "0.46.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "77a8165726e8236064dbb45459242600304b42a5ea24ee2948e18e023bf7ba84"-dependencies = [- "overload",- "winapi",-]-[[package]]name = "num-bigint"version = "0.4.6"@@ -3854,34 +3989,13 @@ dependencies = ["libc",]-[[package]]-name = "num_enum"-version = "0.5.11"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1f646caf906c20226733ed5b1374287eb97e3c2a5c227ce668c1f2ce20ae57c9"-dependencies = [- "num_enum_derive 0.5.11",-]-[[package]]name = "num_enum"version = "0.7.3"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "4e613fc340b2220f734a8595782c551f1250e969d87d3be1ae0579e8d4065179"dependencies = [- "num_enum_derive 0.7.3",-]--[[package]]-name = "num_enum_derive"-version = "0.5.11"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dcbff9bc912032c62bf65ef1d5aea88983b420f4f839db1e9b0c281a25c9c799"-dependencies = [- "proc-macro-crate 1.3.1",- "proc-macro2",- "quote",- "syn 1.0.109",+ "num_enum_derive",][[package]]@@ -3922,6 +4036,9 @@ name = "objc-sys"version = "0.3.5"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "cdb91bdd390c7ce1a8607f35f3ca7151b65afc0ff5ff3b34fa350f7d7c7e4310"+dependencies = [+ "cc",+][[package]]name = "objc2"@@ -3949,6 +4066,30 @@ dependencies = ["objc2-quartz-core",]+[[package]]+name = "objc2-cloud-kit"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "74dd3b56391c7a0596a295029734d3c1c5e7e510a4cb30245f8221ccea96b009"+dependencies = [+ "bitflags 2.6.0",+ "block2",+ "objc2",+ "objc2-core-location",+ "objc2-foundation",+]++[[package]]+name = "objc2-contacts"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "a5ff520e9c33812fd374d8deecef01d4a840e7b41862d849513de77e44aa4889"+dependencies = [+ "block2",+ "objc2",+ "objc2-foundation",+]+[[package]]name = "objc2-core-data"version = "0.2.2"@@ -3973,6 +4114,18 @@ dependencies = ["objc2-metal",]+[[package]]+name = "objc2-core-location"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "000cfee34e683244f284252ee206a27953279d370e309649dc3ee317b37e5781"+dependencies = [+ "block2",+ "objc2",+ "objc2-contacts",+ "objc2-foundation",+]+[[package]]name = "objc2-encode"version = "4.0.3"@@ -3993,12 +4146,24 @@ dependencies = [][[package]]-name = "objc2-metal"+name = "objc2-link-presentation"version = "0.2.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6"+checksum = "a1a1ae721c5e35be65f01a03b6d2ac13a54cb4fa70d8a5da293d7b0020261398"dependencies = [- "bitflags 2.6.0",+ "block2",+ "objc2",+ "objc2-app-kit",+ "objc2-foundation",+]++[[package]]+name = "objc2-metal"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "dd0cba1276f6023976a406a14ffa85e1fdd19df6b0f737b063b95f6c8c7aadd6"+dependencies = [+ "bitflags 2.6.0","block2","objc2","objc2-foundation",@@ -4017,6 +4182,74 @@ dependencies = ["objc2-metal",]+[[package]]+name = "objc2-symbols"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "0a684efe3dec1b305badae1a28f6555f6ddd3bb2c2267896782858d5a78404dc"+dependencies = [+ "objc2",+ "objc2-foundation",+]++[[package]]+name = "objc2-ui-kit"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b8bb46798b20cd6b91cbd113524c490f1686f4c4e8f49502431415f3512e2b6f"+dependencies = [+ "bitflags 2.6.0",+ "block2",+ "objc2",+ "objc2-cloud-kit",+ "objc2-core-data",+ "objc2-core-image",+ "objc2-core-location",+ "objc2-foundation",+ "objc2-link-presentation",+ "objc2-quartz-core",+ "objc2-symbols",+ "objc2-uniform-type-identifiers",+ "objc2-user-notifications",+]++[[package]]+name = "objc2-uniform-type-identifiers"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "44fa5f9748dbfe1ca6c0b79ad20725a11eca7c2218bceb4b005cb1be26273bfe"+dependencies = [+ "block2",+ "objc2",+ "objc2-foundation",+]++[[package]]+name = "objc2-user-notifications"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "76cfcbf642358e8689af64cee815d139339f3ed8ad05103ed5eaf73db8d84cb3"+dependencies = [+ "bitflags 2.6.0",+ "block2",+ "objc2",+ "objc2-core-location",+ "objc2-foundation",+]++[[package]]+name = "objc2-web-kit"+version = "0.2.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "68bc69301064cebefc6c4c90ce9cba69225239e4b8ff99d445a2b5563797da65"+dependencies = [+ "bitflags 2.6.0",+ "block2",+ "objc2",+ "objc2-app-kit",+ "objc2-foundation",+]+[[package]]name = "objc_exception"version = "0.1.2"@@ -4143,6 +4376,16 @@ version = "0.2.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "04744f49eae99ab78e0d5c0b603ab218f515ea8cfe5a456d7629ad883a3b6e7d"+[[package]]+name = "ordered-multimap"+version = "0.3.1"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1c672c7ad9ec066e428c00eb917124a06f08db19e2584de982cc34b1f4c12485"+dependencies = [+ "dlv-list",+ "hashbrown 0.9.1",+]+[[package]]name = "ordered-stream"version = "0.2.0"@@ -4174,12 +4417,6 @@ dependencies = ["windows-sys 0.59.0",]-[[package]]-name = "overload"-version = "0.1.1"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "b15813163c1d831bf4a13c3610c05c0d03b39feb07f7e09fa234dac9b15aaf39"-[[package]]name = "pango"version = "0.18.3"@@ -4471,7 +4708,7 @@ checksum = "42cf17e9a1800f5f396bc67d193dc9411b59012a5876445ef450d449881e1016"dependencies = ["base64 0.22.1","indexmap 2.5.0",- "quick-xml",+ "quick-xml 0.32.0","serde","time",]@@ -4482,7 +4719,7 @@ version = "0.17.13"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "06e4b0d3d1312775e782c86c91a111aa1f910cbb65e1337f9975b5f9a554b5e1"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","crc32fast","fdeflate","flate2",@@ -4609,6 +4846,22 @@ dependencies = ["syn 2.0.85",]+[[package]]+name = "psl-types"+version = "2.0.11"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "33cb294fe86a74cbcf50d4445b37da762029549ebeea341421c7c70370f86cac"++[[package]]+name = "publicsuffix"+version = "2.2.3"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "96a8c1bda5ae1af7f99a2962e49df150414a43d62404644d98dd5c3a93d07457"+dependencies = [+ "idna 0.3.0",+ "psl-types",+]+[[package]]name = "qoi"version = "0.4.1"@@ -4633,6 +4886,15 @@ dependencies = ["memchr",]+[[package]]+name = "quick-xml"+version = "0.36.2"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "f7649a7b4df05aed9ea7ec6f628c67c9953a43869b8bc50929569b2999d443fe"+dependencies = [+ "memchr",+]+[[package]]name = "quinn"version = "0.11.5"@@ -4826,12 +5088,6 @@ dependencies = ["rgb",]-[[package]]-name = "raw-window-handle"-version = "0.5.2"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f2ff9a1f06a88b01621b7ae906ef0211290d1c8a168a15542486a8f61c0833b9"-[[package]]name = "raw-window-handle"version = "0.6.2"@@ -4898,17 +5154,8 @@ checksum = "4219d74c6b67a3654a9fbebc4b419e22126d13d2f3c4a07ee0cb61ff79a79619"dependencies = ["aho-corasick","memchr",- "regex-automata 0.4.7",- "regex-syntax 0.8.4",-]--[[package]]-name = "regex-automata"-version = "0.1.10"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6c230d73fb8d8c1b9c0b3135c5142a8acee3a0558fb8db5cf1cb65f8d7862132"-dependencies = [- "regex-syntax 0.6.29",+ "regex-automata",+ "regex-syntax",][[package]]@@ -4919,15 +5166,9 @@ checksum = "38caf58cc5ef2fed281f89292ef23f6365465ed9a41b7a7754eb4e26496c92df"dependencies = ["aho-corasick","memchr",- "regex-syntax 0.8.4",+ "regex-syntax",]-[[package]]-name = "regex-syntax"-version = "0.6.29"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f162c6dd7b008981e4d40210aca20b4bd0f9b60ca9271061b07f78537722f2e1"-[[package]]name = "regex-syntax"version = "0.8.4"@@ -4948,6 +5189,8 @@ checksum = "f8f4955649ef5c38cc7f9e8aa41761d48fb9677197daea9984dc54f56aad5e63"dependencies = ["base64 0.22.1","bytes",+ "cookie",+ "cookie_store","encoding_rs","futures-core","futures-util",@@ -4993,22 +5236,21 @@ dependencies = [[[package]]name = "rfd"-version = "0.14.1"+version = "0.15.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "25a73a7337fc24366edfca76ec521f51877b114e42dab584008209cca6719251"+checksum = "8af382a047821a08aa6bfc09ab0d80ff48d45d8726f7cd8e44891f7cb4a4278e"dependencies = ["ashpd",- "block",- "dispatch",+ "block2","glib-sys","gobject-sys","gtk-sys","js-sys","log",- "objc",- "objc-foundation",- "objc_id",- "raw-window-handle 0.6.2",+ "objc2",+ "objc2-app-kit",+ "objc2-foundation",+ "raw-window-handle","wasm-bindgen","wasm-bindgen-futures","web-sys",@@ -5053,6 +5295,16 @@ dependencies = ["thiserror",]+[[package]]+name = "rust-ini"+version = "0.17.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "63471c4aa97a1cf8332a5f97709a79a4234698de6a1f5087faf66f2dae810e22"+dependencies = [+ "cfg-if 1.0.0",+ "ordered-multimap",+]+[[package]]name = "rustc-demangle"version = "0.1.24"@@ -5214,6 +5466,7 @@ dependencies = ["serde","serde_json","url",+ "uuid",][[package]]@@ -5292,7 +5545,7 @@ version = "0.22.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "df320f1889ac4ba6bc0cdc9c9af7af4bd64bb927bccdf32d81140dc1f9be12fe"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","cssparser","derive_more","fxhash",@@ -5495,15 +5748,6 @@ dependencies = ["digest",]-[[package]]-name = "sharded-slab"-version = "0.1.7"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "f40ca3c46823713e0d4209592e8d6e826aa57e928f09752619fc696c499637f6"-dependencies = [- "lazy_static",-]-[[package]]name = "shared_child"version = "1.0.1"@@ -5600,7 +5844,7 @@ dependencies = ["objc2-app-kit","objc2-foundation","objc2-quartz-core",- "raw-window-handle 0.6.2",+ "raw-window-handle","redox_syscall","wasm-bindgen","web-sys",@@ -5635,9 +5879,9 @@ dependencies = [[[package]]name = "specta"-version = "2.0.0-rc.19"+version = "2.0.0-rc.20"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c55a15e1cd11cd8b7bb846d2770ac2870f661a3cfe0b9744acf9da4d902ad931"+checksum = "4ccbb212565d2dc177bc15ecb7b039d66c4490da892436a4eee5b394d620c9bc"dependencies = ["paste","specta-macros",@@ -5658,9 +5902,9 @@ dependencies = [[[package]]name = "specta-serde"-version = "0.0.6"+version = "0.0.7"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "22c118b7369eac59b0b6e84e72b0dcc443efee3f6390f78fc5e9b2f388130b7e"+checksum = "12260cbb21abb2e83a0375b1521867910e3aed8a7afa782206150ce552cd2e5a"dependencies = ["specta","thiserror",@@ -5668,9 +5912,9 @@ dependencies = [[[package]]name = "specta-typescript"-version = "0.0.6"+version = "0.0.7"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5f681a64d09d0f9a898af8b443d2d1b866b1adb350d09da6ada186e10321c4f6"+checksum = "b1e4472229365ceb6395487e3a60d921ad8e21f9ad06eaecc396f098902c9adc"dependencies = ["specta","specta-serde",@@ -5701,15 +5945,6 @@ version = "1.2.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "a8f112729512f8e442d81f95a8a7ddf2b7c6b8a1a6f509a95864142b30cab2d3"-[[package]]-name = "state"-version = "0.6.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "2b8c4a4445d81357df8b1a650d0d0d6fbbbfe99d064aa5e02f3e4022061476d8"-dependencies = [- "loom",-]-[[package]]name = "static_assertions"version = "1.1.0"@@ -5756,9 +5991,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"[[package]]name = "swift-rs"-version = "1.0.6"+version = "1.0.7"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "1bbdb58577b6301f8d17ae2561f32002a5bae056d444e0f69e611e504a276204"+checksum = "4057c98e2e852d51fdcfca832aac7b571f6b351ad159f9eda5db1655f8d0c4d7"dependencies = ["base64 0.21.7","serde",@@ -5796,7 +6031,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "798306779e3dc7d5231bd5691f5a813496dc79d3f56bf82e25789f2094e022c3"dependencies = ["arrayvec",- "bitflags 1.2.1",+ "bitflags 1.3.2","bytemuck","lazy_static","log",@@ -5911,14 +6146,14 @@ dependencies = [[[package]]name = "tao"-version = "0.28.1"+version = "0.30.5"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ea538df05fbc2dcbbd740ba0cfe8607688535f4798d213cbbfa13ce494f3451f"+checksum = "63f1f6b2017cc33d7f6fc9c6186a2c0f5dfc985899a7b4fe9e64985c17533db3"dependencies = ["bitflags 2.6.0",- "cocoa 0.25.0",- "core-foundation 0.9.4",- "core-graphics 0.23.2",+ "cocoa 0.26.0",+ "core-foundation 0.10.0",+ "core-graphics 0.24.0","crossbeam-channel","dispatch","dlopen2",@@ -5931,19 +6166,19 @@ dependencies = ["lazy_static","libc","log",- "ndk 0.7.0",+ "ndk 0.9.0","ndk-context",- "ndk-sys 0.4.1+23.1.7779620",+ "ndk-sys 0.6.0+11769913","objc","once_cell","parking_lot",- "raw-window-handle 0.6.2",+ "raw-window-handle","scopeguard","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",]@@ -5990,13 +6225,12 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"[[package]]name = "tauri"-version = "2.0.0-rc.0"+version = "2.0.6"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "255e746089a370802ec4eb896dccc6f27c1dd2a203c1dc484fd996db954e2300"+checksum = "d3889b392db6d32a105d3757230ea0220090b8f94c90d3e60b6c5eb91178ab1b"dependencies = ["anyhow","bytes",- "cocoa 0.25.0","dirs","dunce","embed_plist",@@ -6007,22 +6241,24 @@ dependencies = ["heck 0.5.0","http","http-range",- "image 0.24.9",+ "image 0.25.2","jni","libc","log","mime","muda",- "objc",+ "objc2",+ "objc2-app-kit",+ "objc2-foundation","percent-encoding",- "raw-window-handle 0.6.2",+ "plist",+ "raw-window-handle","reqwest","serde","serde_json","serde_repr","serialize-to-javascript","specta",- "state","swift-rs","tauri-build","tauri-macros",@@ -6033,25 +6269,25 @@ dependencies = ["tokio","tray-icon","url",- "urlpattern",+ "urlpattern 0.3.0","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.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "96a58b3a716b51d7f671f729bb8c0a53cd2551eec8450c64e828ef4e6c9f948e"+checksum = "9f96827ccfb1aa40d55d0ded79562d18ba18566657a553f992a982d755148376"dependencies = ["anyhow","cargo_toml","dirs","glob","heck 0.5.0",- "json-patch",+ "json-patch 3.0.1","schemars","semver","serde",@@ -6064,14 +6300,14 @@ dependencies = [[[package]]name = "tauri-codegen"-version = "2.0.0-rc.2"+version = "2.0.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "90a9e63ecd827d57228864764e0234935c9aac230099cf145197c8c08e754ced"+checksum = "8947f16f47becd9e9cd39b74ee337fd1981574d78819be18e4384d85e5a0b82f"dependencies = ["base64 0.22.1","brotli","ico",- "json-patch",+ "json-patch 2.0.0","plist","png","proc-macro2",@@ -6091,9 +6327,9 @@ dependencies = [[[package]]name = "tauri-macros"-version = "2.0.0-rc.2"+version = "2.0.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a54f5d5b289aa6215ffcfed7d4ff9960a04b7a854436d04519a9fcf911050cba"+checksum = "8bd1c8d4a66799d3438747c3a79705cd665a95d6f24cb5f315413ff7a981fe2a"dependencies = ["heck 0.5.0","proc-macro2",@@ -6121,9 +6357,9 @@ dependencies = [[[package]]name = "tauri-plugin"-version = "2.0.0-rc.2"+version = "2.0.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "03ce2ac5e182251ff932750d69c9b240a78e44901a7a6234814d63c595b43660"+checksum = "6fa4e6c94cb1d635f65a770c69e23de1bc054b0e4c554fa037a7cc7676333d39"dependencies = ["anyhow","glob",@@ -6138,13 +6374,14 @@ dependencies = [[[package]]name = "tauri-plugin-decorum"-version = "1.0.0"+version = "1.1.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8a073ba2f7dcceaf9b371e2358f4370ffa2924726431f822d5e43d977aa4d9f6"+checksum = "db925c61a04a937028bc91ad8ae64a93b84a1715b964530925a54e793d494999"dependencies = ["anyhow","cocoa 0.25.0","enigo",+ "linicon","objc","rand 0.8.5","serde",@@ -6154,13 +6391,12 @@ dependencies = [[[package]]name = "tauri-plugin-dialog"-version = "2.0.0-rc.0"+version = "2.0.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6c538457a755a75b8bb1594ed40d1512f8f6386251d3fcde492f8f46768ec85b"+checksum = "4307310e1d2c09ab110235834722e7c2b85099b683e1eb7342ab351b0be5ada3"dependencies = [- "dunce","log",- "raw-window-handle 0.6.2",+ "raw-window-handle","rfd","serde","serde_json",@@ -6168,16 +6404,19 @@ dependencies = ["tauri-plugin","tauri-plugin-fs","thiserror",+ "url",][[package]]name = "tauri-plugin-fs"-version = "2.0.0-rc.0"+version = "2.0.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5df6b25b1f2b7b61565e66c4dbee9eb39e5635d2a763206e380e07cc3f601a67"+checksum = "96ba7d46e86db8c830d143ef90ab5a453328365b0cc834c24edea4267b16aba0"dependencies = ["anyhow",+ "dunce","glob",+ "percent-encoding","schemars","serde","serde_json",@@ -6191,9 +6430,9 @@ dependencies = [[[package]]name = "tauri-plugin-global-shortcut"-version = "2.0.0-rc.0"+version = "2.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "a596240a2ee580534e5d348b80b34ce4aa9c0219eaa63b393571d29201e9ea80"+checksum = "2c15fb7f5e4c80a73ce97217dcff27e423f496178cbcb87e13b4efe99eebb550"dependencies = ["global-hotkey","log",@@ -6204,6 +6443,28 @@ dependencies = ["thiserror",]+[[package]]+name = "tauri-plugin-http"+version = "2.0.0-rc.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "1eef17218eaa8bd0fc6cafb7831c63d82ef83b3950d59dc817d92d5320c4f20c"+dependencies = [+ "data-url",+ "http",+ "regex",+ "reqwest",+ "schemars",+ "serde",+ "serde_json",+ "tauri",+ "tauri-plugin",+ "tauri-plugin-fs",+ "thiserror",+ "tokio",+ "url",+ "urlpattern 0.2.0",+]+[[package]]name = "tauri-plugin-oauth"version = "0.0.0-alpha.0"@@ -6220,9 +6481,9 @@ dependencies = [[[package]]name = "tauri-plugin-os"-version = "2.0.0-rc.0"+version = "2.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "6b54cfeb26356822d3be3db4282041b03552f573a694b6b28aded7d95c62a039"+checksum = "fbc5f23a86f37687c7f4fecfdc706b279087bc44f7a46702f7307ff1551ee03a"dependencies = ["gethostname","log",@@ -6238,9 +6499,9 @@ dependencies = [[[package]]name = "tauri-plugin-process"-version = "2.0.0-rc.0"+version = "2.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "96d3663df0cd3e96feb37d46aad5d499d2edfcca5c62548ad34f1684e0019168"+checksum = "ae06a00087c148962a52814a2d7265b1a0505bced5ffb74f8c284a5f96a4d03d"dependencies = ["tauri","tauri-plugin",@@ -6248,9 +6509,9 @@ dependencies = [[[package]]name = "tauri-plugin-shell"-version = "2.0.0-rc.0"+version = "2.0.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9209f6c32caec61e156a5616f7d80ba7683ca4a0a5641cbe5d3086ab371aaab2"+checksum = "0ad7880c5586b6b2104be451e3d7fc0f3800c84bda69e9ba81c828f87cb34267"dependencies = ["encoding_rs","log",@@ -6269,9 +6530,9 @@ dependencies = [[[package]]name = "tauri-plugin-store"-version = "2.0.0-rc.0"+version = "2.1.0"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9a728d696695856a5c1478e1701fbeb74c7ffaa7d6455de8154e33abd8b649db"+checksum = "e9a580be53f04bb62422d239aa798e88522877f58a0d4a0e745f030055a51bb4"dependencies = ["dunce","log",@@ -6280,13 +6541,14 @@ dependencies = ["tauri","tauri-plugin","thiserror",+ "tokio",][[package]]name = "tauri-plugin-updater"-version = "2.0.0-rc.0"+version = "2.0.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "5b5f10ba18d2fc65e16bdf053b7beccb621dcf880c52d2ab08bdeb2d685e3e14"+checksum = "1dd3d2fe0f02bf52eebb5a9d23b987fffac6684646ab6fd683d706dafb18da87"dependencies = ["base64 0.22.1","dirs",@@ -6295,6 +6557,7 @@ dependencies = ["http","infer","minisign-verify",+ "percent-encoding","reqwest","semver","serde",@@ -6307,42 +6570,44 @@ dependencies = ["time","tokio","url",- "windows-sys 0.52.0",+ "windows-sys 0.59.0","zip",][[package]]name = "tauri-runtime"-version = "2.0.0-rc.2"+version = "2.1.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8f01b129b1ebdf09563c354760dbe7c0e96a166b4e33362d9c8d207f527c7ea5"+checksum = "a1ef7363e7229ac8d04e8a5d405670dbd43dde8fc4bc3bc56105c35452d03784"dependencies = ["dpi","gtk","http","jni",- "raw-window-handle 0.6.2",+ "raw-window-handle","serde","serde_json","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.1.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "fcda27639094ace2bf25f00bc10e35ea4e3af2f92753b1bdd2a174d1fa5a6292"+checksum = "62fa2068e8498ad007b54d5773d03d57c3ff6dd96f8c8ce58beff44d0d5e0d30"dependencies = [- "cocoa 0.25.0","gtk","http","jni","log",+ "objc2",+ "objc2-app-kit",+ "objc2-foundation","percent-encoding",- "raw-window-handle 0.6.2",+ "raw-window-handle","softbuffer","tao","tauri-runtime",@@ -6350,15 +6615,15 @@ dependencies = ["url","webkit2gtk","webview2-com",- "windows 0.57.0",+ "windows 0.58.0","wry",][[package]]name = "tauri-specta"-version = "2.0.0-rc.14"+version = "2.0.0-rc.20"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "c546a51bfe005c03e10b5a71c752165bd94b46566dfe0a409f409d67e17a3361"+checksum = "5d06336a2fa3ead0c8d08719e78cbc1fb73650845789605bd2ab908cbde72815"dependencies = ["heck 0.5.0","serde",@@ -6372,9 +6637,9 @@ dependencies = [[[package]]name = "tauri-specta-macros"-version = "2.0.0-rc.6"+version = "2.0.0-rc.16"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "fb0e8c565ad3dda541e954e9e8fbbca9d43283d1050aec78daac07a92b64f733"+checksum = "7a4aa93823e07859546aa796b8a5d608190cd8037a3a5dce3eb63d491c34bda8"dependencies = ["heck 0.5.0","proc-macro2",@@ -6384,9 +6649,9 @@ dependencies = [[[package]]name = "tauri-utils"-version = "2.0.0-rc.2"+version = "2.0.2"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "28bb83cffa26e9cb7a2b3d0c31ab87bf277f44aaaa90f17159aef4d37aabd051"+checksum = "1fc65d6f5c54e56b66258948a6d9e47a82ea41f4b5a7612bfbdd1634c2913ed0"dependencies = ["brotli","cargo_metadata",@@ -6395,7 +6660,7 @@ dependencies = ["glob","html5ever","infer",- "json-patch",+ "json-patch 2.0.0","kuchikiki","log","memchr",@@ -6413,7 +6678,8 @@ dependencies = ["thiserror","toml 0.8.2","url",- "urlpattern",+ "urlpattern 0.3.0",+ "uuid","walkdir",]@@ -6486,16 +6752,6 @@ dependencies = ["syn 2.0.85",]-[[package]]-name = "thread_local"-version = "1.1.8"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "8b9ef9bad013ada3808854ceac7b46812a6465ba368859a37e2100283d2d719c"-dependencies = [- "cfg-if 1.0.0",- "once_cell",-]-[[package]]name = "tiff"version = "0.9.1"@@ -6760,56 +7016,27 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "c06d3da6113f116aaee68e4d601191614c9053067f9ab7f6edbcb161237daa54"dependencies = ["once_cell",- "valuable",-]--[[package]]-name = "tracing-log"-version = "0.2.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ee855f1f400bd0e5c02d150ae5de3840039a3f54b025156404e34c23c03f47c3"-dependencies = [- "log",- "once_cell",- "tracing-core",-]--[[package]]-name = "tracing-subscriber"-version = "0.3.18"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "ad0f048c97dbd9faa9b7df56362b8ebcaa52adb06b498c050d2f4e32f90a7a8b"-dependencies = [- "matchers",- "nu-ansi-term",- "once_cell",- "regex",- "sharded-slab",- "smallvec",- "thread_local",- "tracing",- "tracing-core",- "tracing-log",][[package]]name = "tray-icon"-version = "0.14.3"+version = "0.19.1"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "3ad8319cca93189ea9ab1b290de0595960529750b6b8b501a399ed1ec3775d60"+checksum = "7c92af36a182b46206723bdf8a7942e20838cde1cf062e5b97854d57eb01763b"dependencies = [- "cocoa 0.25.0",- "core-graphics 0.23.2",+ "core-graphics 0.24.0","crossbeam-channel","dirs","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]]@@ -6961,7 +7188,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "22784dbdf76fdde8af1aeda5622b546b422b6fc585325248a2bf9f5e41e94d6c"dependencies = ["form_urlencoded",- "idna",+ "idna 0.5.0","percent-encoding","serde",]@@ -6979,6 +7206,18 @@ dependencies = ["url",]+[[package]]+name = "urlpattern"+version = "0.3.0"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "70acd30e3aa1450bc2eece896ce2ad0d178e9c079493819301573dae3c37ba6d"+dependencies = [+ "regex",+ "serde",+ "unic-ucd-ident",+ "url",+]+[[package]]name = "utf-8"version = "0.7.6"@@ -6992,6 +7231,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "81dfa00651efa65069b0b6b651f4aaa31ba9e3c3ce0137aaad053604ee7e0314"dependencies = ["getrandom 0.2.15",+ "serde",][[package]]@@ -7005,12 +7245,6 @@ dependencies = ["wasm-bindgen",]-[[package]]-name = "valuable"-version = "0.1.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "830b7e5d4d90034032940e4ace0d9a9a057e7a45cd94e6c007832e39edb82f6d"-[[package]]name = "vcpkg"version = "0.2.15"@@ -7160,6 +7394,66 @@ dependencies = ["web-sys",]+[[package]]+name = "wayland-backend"+version = "0.3.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "056535ced7a150d45159d3a8dc30f91a2e2d588ca0b23f70e56033622b8016f6"+dependencies = [+ "cc",+ "downcast-rs",+ "rustix",+ "scoped-tls",+ "smallvec",+ "wayland-sys",+]++[[package]]+name = "wayland-client"+version = "0.31.7"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "b66249d3fc69f76fd74c82cc319300faa554e9d865dab1f7cd66cc20db10b280"+dependencies = [+ "bitflags 2.6.0",+ "rustix",+ "wayland-backend",+ "wayland-scanner",+]++[[package]]+name = "wayland-protocols"+version = "0.32.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "7cd0ade57c4e6e9a8952741325c30bf82f4246885dca8bf561898b86d0c1f58e"+dependencies = [+ "bitflags 2.6.0",+ "wayland-backend",+ "wayland-client",+ "wayland-scanner",+]++[[package]]+name = "wayland-scanner"+version = "0.31.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "597f2001b2e5fc1121e3d5b9791d3e78f05ba6bfa4641053846248e3a13661c3"+dependencies = [+ "proc-macro2",+ "quick-xml 0.36.2",+ "quote",+]++[[package]]+name = "wayland-sys"+version = "0.31.5"+source = "registry+https://github.com/rust-lang/crates.io-index"+checksum = "efa8ac0d8e8ed3e3b5c9fc92c7881406a268e11555abe36493efabe649a29e09"+dependencies = [+ "dlib",+ "log",+ "pkg-config",+]+[[package]]name = "web-sys"version = "0.3.70"@@ -7176,7 +7470,7 @@ version = "2.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "76b1bc1e54c581da1e9f179d0b38512ba358fb1af2d634a1affe42e37172361a"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","cairo-rs","gdk","gdk-sys",@@ -7200,7 +7494,7 @@ version = "2.0.1"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "62daa38afc514d1f8f12b8693d30d5993ff77ced33ce30cd04deebc267a6d57c"dependencies = [- "bitflags 1.2.1",+ "bitflags 1.3.2","cairo-sys-rs","gdk-sys","gio-sys",@@ -7225,23 +7519,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",+ "windows-interface",][[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",@@ -7250,13 +7544,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]]@@ -7279,7 +7573,7 @@ dependencies = ["naga","parking_lot","profiling",- "raw-window-handle 0.6.2",+ "raw-window-handle","smallvec","static_assertions","wasm-bindgen",@@ -7307,7 +7601,7 @@ dependencies = ["once_cell","parking_lot","profiling",- "raw-window-handle 0.6.2",+ "raw-window-handle","rustc-hash 1.1.0","smallvec","thiserror",@@ -7349,7 +7643,7 @@ dependencies = ["parking_lot","profiling","range-alloc",- "raw-window-handle 0.6.2",+ "raw-window-handle","renderdoc-sys","rustc-hash 1.1.0","smallvec",@@ -7416,7 +7710,7 @@ checksum = "d8cdd6999298d969289d8078dae02ce798ad23452075985cccba8b6326711ecf"dependencies = ["cocoa 0.26.0","objc",- "raw-window-handle 0.6.2",+ "raw-window-handle","windows-sys 0.59.0","windows-version",]@@ -7460,16 +7754,6 @@ dependencies = ["windows-targets 0.52.6",]-[[package]]-name = "windows"-version = "0.57.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "12342cb4d8e3b046f3d80effd474a7a02447231330ef77d71daa6fbc40681143"-dependencies = [- "windows-core 0.57.0",- "windows-targets 0.52.6",-]-[[package]]name = "windows"version = "0.58.0"@@ -7520,42 +7804,19 @@ dependencies = ["windows-targets 0.52.6",]-[[package]]-name = "windows-core"-version = "0.57.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "d2ed2439a290666cd67ecce2b0ffaad89c2a56b976b736e6ece670297897832d"-dependencies = [- "windows-implement 0.57.0",- "windows-interface 0.57.0",- "windows-result 0.1.2",- "windows-targets 0.52.6",-]-[[package]]name = "windows-core"version = "0.58.0"source = "registry+https://github.com/rust-lang/crates.io-index"checksum = "6ba6d44ec8c2591c134257ce647b7ea6b20335bf6379a27dac5f1641fcf59f99"dependencies = [- "windows-implement 0.58.0",- "windows-interface 0.58.0",+ "windows-implement",+ "windows-interface","windows-result 0.2.0","windows-strings","windows-targets 0.52.6",]-[[package]]-name = "windows-implement"-version = "0.57.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "9107ddc059d5b6fbfbffdfa7a7fe3e22a226def0b2608f72e9d552763d3e1ad7"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.85",-]-[[package]]name = "windows-implement"version = "0.58.0"@@ -7567,17 +7828,6 @@ dependencies = ["syn 2.0.85",]-[[package]]-name = "windows-interface"-version = "0.57.0"-source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "29bee4b38ea3cde66011baa44dba677c432a78593e202392d1e9070cf2a7fca7"-dependencies = [- "proc-macro2",- "quote",- "syn 2.0.85",-]-[[package]]name = "windows-interface"version = "0.58.0"@@ -7872,14 +8122,12 @@ dependencies = [[[package]]name = "wry"-version = "0.41.0"+version = "0.46.3"source = "registry+https://github.com/rust-lang/crates.io-index"-checksum = "68b00c945786b02d7805d09a969fa36d0eee4e0bd4fb3ec2a79d2bf45a1b44cd"+checksum = "cd5cdf57c66813d97601181349c63b96994b3074fc3d7a31a8cce96e968e3bbd"dependencies = ["base64 0.22.1",- "block",- "cocoa 0.25.0",- "core-graphics 0.23.2",+ "block2","crossbeam-channel","dpi","dunce",@@ -7891,14 +8139,15 @@ dependencies = ["jni","kuchikiki","libc",- "ndk 0.7.0",- "ndk-context",- "ndk-sys 0.4.1+23.1.7779620",- "objc",- "objc_id",+ "ndk 0.9.0",+ "objc2",+ "objc2-app-kit",+ "objc2-foundation",+ "objc2-ui-kit",+ "objc2-web-kit","once_cell","percent-encoding",- "raw-window-handle 0.6.2",+ "raw-window-handle","sha2","soup3","tao-macros",@@ -7906,8 +8155,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.tomlindex 2d2f87d02..5c60a3b39 100644--- a/Cargo.toml+++ b/Cargo.toml@@ -7,7 +7,8 @@ members = ["crates/media","crates/utils","crates/project",- "crates/editor", "crates/flags",+ "crates/editor",+ "crates/flags",][workspace.dependencies]@@ -23,4 +24,5 @@ tokio = { version = "1.39.3", features = ["rt-multi-thread","time",] }-tauri = { version = "2.0.0-rc" }+tauri = { version = "2.0.0" }+specta = { version = "=2.0.0-rc.20" }diff --git a/apps/desktop/package.json b/apps/desktop/package.jsonindex 2feb5ccad..d6ae78715 100644--- a/apps/desktop/package.json+++ b/apps/desktop/package.json@@ -33,10 +33,11 @@"@tauri-apps/api": ">=2.0.0-rc.0","@tauri-apps/plugin-dialog": "2.0.0-rc.1","@tauri-apps/plugin-fs": "2.0.0-rc.0",+ "@tauri-apps/plugin-http": "^2.0.1","@tauri-apps/plugin-os": "2.0.0-rc.1","@tauri-apps/plugin-process": "2.0.0-rc.0","@tauri-apps/plugin-shell": ">=2.0.0-rc.0",- "@tauri-apps/plugin-store": "2.0.0-rc.0",+ "@tauri-apps/plugin-store": "2.1.0","@tauri-apps/plugin-updater": "2.0.0-rc.0","@types/react-tooltip": "^4.2.4","cva": "npm:class-variance-authority@^0.7.0",diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.tomlindex b7ac0396a..c42966c28 100644--- a/apps/desktop/src-tauri/Cargo.toml+++ b/apps/desktop/src-tauri/Cargo.toml@@ -22,22 +22,22 @@ tauri = { workspace = true, features = ["tray-icon","image-png",] }-tauri-plugin-shell = "2.0.0-rc"+tauri-plugin-shell = "2.0.0"tauri-nspanel = { git = "https://github.com/ahkohd/tauri-nspanel", branch = "v2" }-tauri-plugin-store = "2.0.0-rc.0"-tauri-plugin-os = "2.0.0-rc.0"-tauri-plugin-process = "2.0.0-rc.0"+tauri-plugin-store = "2.0.0"+tauri-plugin-os = "2.0.0"+tauri-plugin-process = "2.0.0"tauri-plugin-decorum = "1.0.0"-tauri-plugin-dialog = "2.0.0-rc.0"-tauri-plugin-updater = "2.0.0-rc.0"+tauri-plugin-dialog = "2.0.0"+tauri-plugin-updater = "2.0.0"tauri-plugin-oauth = { git = "https://github.com/FabianLars/tauri-plugin-oauth", branch = "v2" }-tauri-plugin-global-shortcut = "2.0.0-rc.0"-tauri-specta = { version = "=2.0.0-rc.14", features = ["derive", "typescript"] }+tauri-plugin-global-shortcut = "2.0.0"+tauri-specta = { version = "=2.0.0-rc.20", features = ["derive", "typescript"] }serde = { version = "1", features = ["derive"] }serde_json = "1"-specta = "=2.0.0-rc.19"-specta-typescript = "0.0.6"+specta.workspace = true+specta-typescript = "0.0.7"swift-rs = "1.0.6"nix = { version = "0.29.0", features = ["fs"] }tokio.workspace = true@@ -75,7 +75,8 @@ cap-media = { path = "../../../crates/media" }cap-flags = { path = "../../../crates/flags" }reqwest = { version = "0.12.7", features = ["json", "stream", "multipart"] }dotenvy_macro = "0.15.7"-global-hotkey = "0.5.5"+global-hotkey = "0.6.3"+tauri-plugin-http = "2.0.0-rc.0"[target.'cfg(target_os = "macos")'.dependencies]core-graphics = "0.24.0"diff --git a/apps/desktop/src-tauri/capabilities/default.json b/apps/desktop/src-tauri/capabilities/default.jsonindex 32e87cd56..5666c4f65 100644--- a/apps/desktop/src-tauri/capabilities/default.json+++ b/apps/desktop/src-tauri/capabilities/default.json@@ -27,6 +27,10 @@"store:default","process:default","oauth:allow-start",- "updater:default"+ "updater:default",+ {+ "identifier": "http:default",+ "allow": [{ "url": "https://cap.so" }]+ }]}diff --git a/apps/desktop/src-tauri/src/auth.rs b/apps/desktop/src-tauri/src/auth.rsindex 8fea7c233..77898cc3e 100644--- a/apps/desktop/src-tauri/src/auth.rs+++ b/apps/desktop/src-tauri/src/auth.rs@@ -1,20 +1,21 @@use serde::{Deserialize, Serialize};+use serde_json::json;use specta::Type;use tauri::{AppHandle, Manager, Runtime, Wry};-use tauri_plugin_store::{with_store, StoreCollection};+use tauri_plugin_store::StoreExt;use web_api::ManagerExt;use crate::web_api;-#[derive(Serialize, Deserialize, Type)]+#[derive(Serialize, Deserialize, Type, Debug)]pub struct AuthStore {pub token: String,pub expires: i32,pub plan: Option<Plan>,}-#[derive(Serialize, Deserialize, Type)]+#[derive(Serialize, Deserialize, Type, Debug)]pub struct Plan {pub upgraded: bool,pub last_checked: i32,@@ -22,26 +23,11 @@ pub struct Plan {impl AuthStore {pub fn get<R: Runtime>(app: &AppHandle<R>) -> Result<Option<Self>, String> {- let stores = app- .try_state::<StoreCollection<R>>()- .ok_or("Store not found")?;- with_store(app.clone(), stores, "store", |store| {- let Some(store) = store.get("auth").cloned() else {- return Ok(None);- };-- Ok(serde_json::from_value(store)?)- })- .map_err(|e| e.to_string())- }+ let Some(Some(store)) = app.get_store("store").map(|s| s.get("auth")) else {+ return Ok(None);+ };- pub async fn handle_auth_error(app: &AppHandle, error: &str) -> Result<(), String> {- if error.contains("Authentication expired") || error.contains("Unauthorized") {- // Clear auth and redirect to sign in- Self::set(app, None)?;- crate::delete_auth_open_signin(app.clone()).await?;- }- Ok(())+ Ok(serde_json::from_value(store).map_err(|e| e.to_string())?)}pub async fn fetch_and_update_plan(app: &AppHandle) -> Result<(), String> {@@ -55,11 +41,6 @@ impl AuthStore {.await.map_err(|e| e.to_string())?;- if response.status() == reqwest::StatusCode::UNAUTHORIZED {- Self::handle_auth_error(app, "Authentication expired").await?;- return Err("Authentication expired. Please log in again.".to_string());- }-if !response.status().is_success() {let error_msg = format!("Failed to fetch plan: {}", response.status());return Err(error_msg);@@ -87,16 +68,14 @@ impl AuthStore {}pub fn set(app: &AppHandle, value: Option<Self>) -> Result<(), String> {- let stores = app- .try_state::<StoreCollection<Wry>>()- .ok_or("Store not found")?;- with_store(app.clone(), stores, "store", |store| {- let _ = store.insert("auth".to_string(), serde_json::to_value(value)?);- store.save()- })- .map_err(|e| e.to_string())+ let Some(store) = app.get_store("store") else {+ return Err("Store not found".to_string());+ };++ store.set("auth", json!(value));+ store.save().map_err(|e| e.to_string())}}-#[derive(specta::Type, serde::Serialize, tauri_specta::Event, Debug, Clone)]+#[derive(specta::Type, serde::Serialize, tauri_specta::Event, Debug, Clone, serde::Deserialize)]pub struct AuthenticationInvalid;diff --git a/apps/desktop/src-tauri/src/general_settings.rs b/apps/desktop/src-tauri/src/general_settings.rsindex 037a228fd..902c1e5da 100644--- a/apps/desktop/src-tauri/src/general_settings.rs+++ b/apps/desktop/src-tauri/src/general_settings.rs@@ -3,7 +3,7 @@ use serde_json::json;use specta::Type;use std::sync::Mutex;use tauri::{AppHandle, Manager, Runtime, Wry};-use tauri_plugin_store::{with_store, StoreCollection};+use tauri_plugin_store::StoreExt;#[derive(Serialize, Deserialize, Type, Default)]pub struct GeneralSettingsStore {@@ -19,38 +19,20 @@ pub struct GeneralSettingsStore {impl GeneralSettingsStore {pub fn get(app: &AppHandle<Wry>) -> Result<Option<Self>, String> {- println!("Attempting to get GeneralSettingsStore");- let stores = app- .try_state::<StoreCollection<Wry>>()- .ok_or("Store not found")?;- with_store(app.clone(), stores, "store", |store| {- let Some(store) = store.get("general_settings").cloned() else {- println!("No general_settings found in store");- return Ok(None);- };+ let Some(Some(store)) = app.get_store("store").map(|s| s.get("general_settings")) else {+ return Ok(None);+ };- println!("Found general_settings in store");- Ok(serde_json::from_value(store)?)- })- .map_err(|e| {- println!("Error getting GeneralSettingsStore: {}", e);- e.to_string()- })+ Ok(serde_json::from_value(store).map_err(|e| e.to_string())?)}pub fn set(app: &AppHandle, settings: Self) -> Result<(), String> {- println!("Attempting to set GeneralSettingsStore");- let stores = app- .try_state::<StoreCollection<Wry>>()- .ok_or("Store not found")?;- with_store(app.clone(), stores, "store", |store| {- store.insert("general_settings".to_string(), json!(settings))?;- store.save()- })- .map_err(|e| {- println!("Error setting GeneralSettingsStore: {}", e);- e.to_string()- })+ let Some(store) = app.get_store("store") else {+ return Err("Store not found".to_string());+ };++ store.set("general_settings", json!(settings));+ store.save().map_err(|e| e.to_string())}}diff --git a/apps/desktop/src-tauri/src/hotkeys.rs b/apps/desktop/src-tauri/src/hotkeys.rsindex c7d826469..090ad8b4b 100644--- a/apps/desktop/src-tauri/src/hotkeys.rs+++ b/apps/desktop/src-tauri/src/hotkeys.rs@@ -4,11 +4,11 @@ use crate::{use global_hotkey::HotKeyState;use serde::{Deserialize, Serialize};use specta::Type;+use std::collections::HashMap;use std::sync::Mutex;-use std::{collections::HashMap, time::Instant};-use tauri::{AppHandle, Manager, Wry};+use tauri::{AppHandle, Manager};use tauri_plugin_global_shortcut::{Code, GlobalShortcutExt, Modifiers, Shortcut};-use tauri_plugin_store::{with_store, StoreCollection};+use tauri_plugin_store::StoreExt;use tauri_specta::Event;#[derive(Serialize, Deserialize, Type, PartialEq, Clone, Copy)]@@ -58,17 +58,11 @@ pub struct HotkeysStore {impl HotkeysStore {pub fn get(app: &AppHandle) -> Result<Option<Self>, String> {- let stores = app- .try_state::<StoreCollection<Wry>>()- .ok_or("Store not found")?;- with_store(app.clone(), stores, "store", |store| {- let Some(store) = store.get("hotkeys").cloned() else {- return Ok(None);- };-- Ok(serde_json::from_value(store)?)- })- .map_err(|e| e.to_string())+ let Some(Some(store)) = app.get_store("store").map(|s| s.get("hotkeys")) else {+ return Ok(None);+ };++ Ok(serde_json::from_value(store).map_err(|e| e.to_string())?)}}diff --git a/apps/desktop/src-tauri/src/lib.rs b/apps/desktop/src-tauri/src/lib.rsindex 0665f921c..aba74cadf 100644--- a/apps/desktop/src-tauri/src/lib.rs+++ b/apps/desktop/src-tauri/src/lib.rs@@ -10,13 +10,14 @@ mod macos;mod notifications;mod permissions;mod recording;+// mod resource;mod tray;mod upload;mod web_api;mod windows;use audio::AppSounds;-use auth::AuthStore;+use auth::{AuthStore, AuthenticationInvalid};use cap_editor::{AudioData, EditorState, ProjectRecordings};use cap_editor::{EditorInstance, FRAMES_WS_PATH};use cap_media::sources::CaptureScreen;@@ -62,7 +63,7 @@ use tokio::{time::sleep,};use upload::{get_s3_config, upload_image, upload_individual_file, upload_video, S3UploadMeta};-use windows::CapWindow;+use windows::{CapWindow, CapWindowId};#[derive(specta::Type, Serialize, Deserialize, Clone, Debug)]#[serde(rename_all = "camelCase")]@@ -323,16 +324,17 @@ async fn start_recording(app: AppHandle, state: MutableState<'_, App>) -> Resultif let Ok(Some(auth)) = AuthStore::get(&app) {if auth.is_upgraded() {// Pre-create the video and get the shareable link- let s3_config = get_s3_config(&app, false).await?;- let link = web_api::make_url(format!("/s/{}", s3_config.id()));+ if let Ok(s3_config) = get_s3_config(&app, false).await {+ let link = web_api::make_url(format!("/s/{}", s3_config.id()));- state.pre_created_video = Some(PreCreatedVideo {- id: s3_config.id().to_string(),- link: link.clone(),- config: s3_config,- });+ state.pre_created_video = Some(PreCreatedVideo {+ id: s3_config.id().to_string(),+ link: link.clone(),+ config: s3_config,+ });- println!("Pre-created shareable link: {}", link);+ println!("Pre-created shareable link: {}", link);+ };}}}@@ -502,23 +504,7 @@ async fn stop_recording(app: AppHandle, state: MutableState<'_, App>) -> Result<if let Some(pre_created_video) = state.pre_created_video.take() {// Copy link to clipboard#[cfg(target_os = "macos")]- {- use cocoa::appkit::NSPasteboard;- use cocoa::base::{id, nil};- use cocoa::foundation::{NSArray, NSString};- use objc::rc::autoreleasepool;-- unsafe {- autoreleasepool(|| {- let pasteboard: id = NSPasteboard::generalPasteboard(nil);- NSPasteboard::clearContents(pasteboard);- let ns_string =- NSString::alloc(nil).init_str(&pre_created_video.link);- let objects: id = NSArray::arrayWithObject(nil, ns_string);- NSPasteboard::writeObjects(pasteboard, objects);- });- }- }+ macos::write_string_to_pasteboard(&pre_created_video.link);// Send notification for shareable linknotifications::send_notification(@@ -1724,7 +1710,6 @@ async fn upload_rendered_video(let Ok(Some(mut auth)) = AuthStore::get(&app) else {// Sign out and redirect to sign inAuthStore::set(&app, None).map_err(|e| e.to_string())?;- delete_auth_open_signin(app).await?;return Ok(UploadResult::NotAuthenticated);};@@ -1740,7 +1725,6 @@ async fn upload_rendered_video(}Ok(None) => {// Auth was invalidated during plan check- delete_auth_open_signin(app).await?;return Ok(UploadResult::NotAuthenticated);}Err(e) => return Err(format!("Failed to refresh auth: {}", e)),@@ -1748,7 +1732,6 @@ async fn upload_rendered_video(}Err(e) => {if e.contains("Authentication expired") {- delete_auth_open_signin(app).await?;return Ok(UploadResult::NotAuthenticated);}return Ok(UploadResult::PlanCheckFailed);@@ -1853,22 +1836,7 @@ async fn upload_rendered_video(};#[cfg(target_os = "macos")]- {- use cocoa::appkit::NSPasteboard;- use cocoa::base::{id, nil};- use cocoa::foundation::{NSArray, NSString};- use objc::rc::autoreleasepool;-- unsafe {- autoreleasepool(|| {- let pasteboard: id = NSPasteboard::generalPasteboard(nil);- NSPasteboard::clearContents(pasteboard);- let ns_string = NSString::alloc(nil).init_str(&share_link);- let objects: id = NSArray::arrayWithObject(nil, ns_string);- NSPasteboard::writeObjects(pasteboard, objects);- });- }- }+ macos::write_string_to_pasteboard(&share_link);Ok(UploadResult::Success(share_link))}@@ -1882,7 +1850,6 @@ async fn upload_screenshot(let Ok(Some(mut auth)) = AuthStore::get(&app) else {// Sign out and redirect to sign inAuthStore::set(&app, None).map_err(|e| e.to_string())?;- delete_auth_open_signin(app).await?;return Ok(UploadResult::NotAuthenticated);};@@ -1893,14 +1860,12 @@ async fn upload_screenshot(auth = updated_auth;}Ok(None) => {- delete_auth_open_signin(app).await?;return Ok(UploadResult::NotAuthenticated);}Err(e) => return Err(format!("Failed to refresh auth: {}", e)),},Err(e) => {if e.contains("Authentication expired") {- delete_auth_open_signin(app).await?;return Ok(UploadResult::NotAuthenticated);}return Ok(UploadResult::PlanCheckFailed);@@ -1951,25 +1916,7 @@ async fn upload_screenshot(println!("Copying to clipboard: {:?}", share_link);#[cfg(target_os = "macos")]- {- use cocoa::appkit::NSPasteboard;- use cocoa::base::{id, nil};- use cocoa::foundation::{NSArray, NSString};- use objc::rc::autoreleasepool;-- unsafe {- autoreleasepool(|| {- let pasteboard: id = NSPasteboard::generalPasteboard(nil);- NSPasteboard::clearContents(pasteboard);-- let ns_string = NSString::alloc(nil).init_str(&share_link);-- let objects: id = NSArray::arrayWithObject(nil, ns_string);-- NSPasteboard::writeObjects(pasteboard, objects);- });- }- }+ macos::write_string_to_pasteboard(&share_link);// Send notification after successful upload and clipboard copynotifications::send_notification(&app, notifications::NotificationType::ShareableLinkCopied);@@ -2154,7 +2101,11 @@ async fn save_file_dialog(.add_filter(name, &[extension]).save_file(move |path| {println!("Save file callback triggered");- let _ = tx.send(path.map(|p| p.to_string_lossy().to_string()));+ let _ = tx.send(+ path.as_ref()+ .and_then(|p| p.as_path())+ .map(|p| p.to_string_lossy().to_string()),+ );});println!("Waiting for user selection");@@ -2303,11 +2254,11 @@ async fn set_general_settings(async fn delete_auth_open_signin(app: AppHandle) -> Result<(), String> {AuthStore::set(&app, None).map_err(|e| e.to_string())?;- if let Some(window) = app.get_webview_window("settings") {+ if let Some(window) = (CapWindowId::Settings).get(&app) {window.close().ok();}- if let Some(window) = app.get_webview_window("camera") {+ if let Some(window) = (CapWindowId::Camera).get(&app) {window.close().ok();}@@ -2454,13 +2405,14 @@ pub async fn run() {RequestStopRecording,RequestNewScreenshot,RequestOpenSettings,- NewNotification+ NewNotification,+ AuthenticationInvalid])- .ty::<ProjectConfiguration>()- .ty::<AuthStore>()- .ty::<hotkeys::HotkeysStore>()- .ty::<general_settings::GeneralSettingsStore>()- .ty::<cap_flags::Flags>();+ .typ::<ProjectConfiguration>()+ .typ::<AuthStore>()+ .typ::<hotkeys::HotkeysStore>()+ .typ::<general_settings::GeneralSettingsStore>()+ .typ::<cap_flags::Flags>();#[cfg(debug_assertions)]specta_builder@@ -2483,6 +2435,7 @@ pub async fn run() {.plugin(tauri_plugin_os::init()).plugin(tauri_plugin_process::init()).plugin(tauri_plugin_oauth::init())+ .plugin(tauri_plugin_http::init()).plugin(tauri_plugin_updater::Builder::new().build()).plugin(flags::plugin::init()).invoke_handler(specta_builder.invoke_handler())@@ -2603,6 +2556,20 @@ pub async fn run() {});});+ let app_handle_clone = app_handle.clone();+ tauri::async_runtime::spawn(async move {+ tokio::time::sleep(Duration::from_secs(5)).await;+ AuthenticationInvalid.emit(&app_handle_clone).ok();+ });++ let app_handle_clone = app_handle.clone();+ AuthenticationInvalid::listen_any(app, move |_| {+ let app_handle = app_handle_clone.clone();+ tauri::async_runtime::spawn(async move {+ delete_auth_open_signin(app_handle).await.ok();+ });+ });+Ok(())}).on_window_event(|window, event| {diff --git a/apps/desktop/src-tauri/src/macos.rs b/apps/desktop/src-tauri/src/macos.rsindex 117a6d42c..5d966fd01 100644--- a/apps/desktop/src-tauri/src/macos.rs+++ b/apps/desktop/src-tauri/src/macos.rs@@ -206,3 +206,20 @@ extern "C" {rect: *mut CGRect,) -> boolean_t;}++pub fn write_string_to_pasteboard(string: &str) {+ use cocoa::appkit::NSPasteboard;+ use cocoa::base::{id, nil};+ use cocoa::foundation::{NSArray, NSString};+ use objc::rc::autoreleasepool;++ unsafe {+ autoreleasepool(|| {+ let pasteboard: id = NSPasteboard::generalPasteboard(nil);+ NSPasteboard::clearContents(pasteboard);+ let ns_string = NSString::alloc(nil).init_str(string);+ let objects: id = NSArray::arrayWithObject(nil, ns_string);+ NSPasteboard::writeObjects(pasteboard, objects);+ });+ }+}diff --git a/apps/desktop/src-tauri/src/resource.rs b/apps/desktop/src-tauri/src/resource.rsnew file mode 100644index 000000000..46fdda501--- /dev/null+++ b/apps/desktop/src-tauri/src/resource.rs@@ -0,0 +1,52 @@+// i've got an idea++use std::{future::Future, sync::Arc};++use futures::pin_mut;+use tokio::sync::{watch, Mutex};++#[derive(Clone)]+pub struct Resource<T>(Arc<ResourceInner<T>>);++struct ResourceInner<T> {+ fetcher: Box<dyn Fn() -> Box<dyn Future<Output = T>>>,+ value: watch::Receiver<Option<T>>,+ value_sender: watch::Sender<Option<T>>,+ current_fetch: Mutex<Option<tokio::task::JoinHandle<()>>>,+}++impl<T> Resource<T> {+ fn new(fetcher: impl Fn() -> Box<dyn Future<Output = T> + 'static> + 'static) -> Self {+ let (tx, rx) = watch::channel(None);+ let value = tx.clone();++ let this = Self(Arc::new(ResourceInner {+ fetcher: Box::new(fetcher),+ value: rx,+ value_sender: tx,+ current_fetch: Mutex::new(None),+ }));++ tokio::spawn({+ let this = this.clone();+ async move { this.refetch().await }+ });++ this+ }++ pub async fn refetch(&self) -> T {+ let this = self.clone();++ tokio::spawn(async move {+ let fut = this.0.fetcher();+ pin_mut!(fut);+ let value = fut.await;+ tx.send(Some(value)).unwrap();+ });+ }++ pub fn get(&self) -> Option<&T> {+ self.value.borrow().as_ref()+ }+}diff --git a/apps/desktop/src-tauri/src/web_api.rs b/apps/desktop/src-tauri/src/web_api.rsindex 2a83fdec8..bbb16f73c 100644--- a/apps/desktop/src-tauri/src/web_api.rs+++ b/apps/desktop/src-tauri/src/web_api.rs@@ -43,7 +43,7 @@ impl<T: Manager<R> + Emitter<R>, R: Runtime> ManagerExt<R> for T {let Some(auth) = AuthStore::get(self.app_handle())? else {println!("Not logged in");- AuthenticationInvalid.emit(self);+ AuthenticationInvalid.emit(self).ok();return Err("Unauthorized".to_string());};@@ -55,7 +55,7 @@ impl<T: Manager<R> + Emitter<R>, R: Runtime> ManagerExt<R> for T {if response.status() == StatusCode::UNAUTHORIZED {println!("Authentication expired. Please log in again.");- AuthenticationInvalid.emit(self);+ AuthenticationInvalid.emit(self).ok();return Err("Unauthorized".to_string());}diff --git a/apps/desktop/src-tauri/src/windows.rs b/apps/desktop/src-tauri/src/windows.rsindex 1a70b5f68..c42bee3c5 100644--- a/apps/desktop/src-tauri/src/windows.rs+++ b/apps/desktop/src-tauri/src/windows.rs@@ -15,6 +15,92 @@ pub enum CapWindow {Changelog,}+pub enum CapWindowId {+ Main,+ Settings,+ Editor { project_id: String },+ Permissions,+ PrevRecordings,+ Notifications,+ WindowCaptureOccluder,+ Camera,+ InProgressRecording,+ Feedback,+ Upgrade,+ Changelog,+}++impl CapWindowId {+ pub fn from_label(label: &str) -> Self {+ match label {+ "main" => Self::Main,+ "settings" => Self::Settings,+ "camera" => Self::Camera,+ "window-capture-occluder" => Self::WindowCaptureOccluder,+ "in-progress-recording" => Self::InProgressRecording,+ "prev-recordings" => Self::PrevRecordings,+ "notifications" => Self::Notifications,+ "permissions" => Self::Permissions,+ "feedback" => Self::Feedback,+ "upgrade" => Self::Upgrade,+ "changelog" => Self::Changelog,+ s if s.starts_with("editor-") => Self::Editor {+ project_id: s.replace("editor-", ""),+ },+ _ => unreachable!("unknown window label: {}", label),+ }+ }++ pub fn label(&self) -> String {+ match self {+ Self::Main => "main".to_string(),+ Self::Settings => "settings".to_string(),+ Self::Camera => "camera".to_string(),+ Self::WindowCaptureOccluder => "window-capture-occluder".to_string(),+ Self::InProgressRecording => "in-progress-recording".to_string(),+ Self::PrevRecordings => "prev-recordings".to_string(),+ Self::Notifications => "notifications".to_string(),+ Self::Editor { project_id } => format!("editor-{}", project_id),+ Self::Permissions => "permissions".to_string(),+ Self::Feedback => "feedback".to_string(),+ Self::Upgrade => "upgrade".to_string(),+ Self::Changelog => "changelog".to_string(),+ }+ }++ pub fn title(&self) -> String {+ match self {+ Self::Settings => "Cap Settings".to_string(),+ Self::WindowCaptureOccluder => "Cap Window Capture Occluder".to_string(),+ Self::InProgressRecording => "Cap In Progress Recording".to_string(),+ Self::Editor { .. } => "Cap Editor".to_string(),+ Self::Notifications => "Cap Notifications".to_string(),+ Self::Permissions => "Cap Permissions".to_string(),+ Self::Changelog => "Cap Changelog".to_string(),+ _ => "Cap".to_string(),+ }+ }++ pub fn activates_dock(&self) -> bool {+ match self {+ Self::Main => true,+ Self::Editor { .. } => true,+ Self::Settings => true,+ Self::Notifications => true,+ Self::Permissions => true,+ Self::Feedback => true,+ Self::Upgrade => true,+ Self::Changelog => true,+ _ => false,+ }+ }++ pub fn get(&self, app: &AppHandle<Wry>) -> Option<WebviewWindow> {+ let label = self.label();+ app.get_webview_window(&label)+ }+}+impl CapWindow {pub fn from_label(label: &str) -> Self {match label {diff --git a/apps/desktop/src/routes/(window-chrome)/index.tsx b/apps/desktop/src/routes/(window-chrome)/index.tsxindex 1780e9636..b2fbcc23e 100644--- a/apps/desktop/src/routes/(window-chrome)/index.tsx+++ b/apps/desktop/src/routes/(window-chrome)/index.tsx@@ -14,6 +14,7 @@ import {onMount,} from "solid-js";import { createStore } from "solid-js/store";+import { fetch } from "@tauri-apps/plugin-http";import { authStore } from "~/store";import { clientEnv } from "~/utils/env";@@ -43,6 +44,10 @@ import {const getAuth = cache(async () => {const value = await authStore.get();if (!value) return redirect("/signin");+ const res = await fetch(`${clientEnv.VITE_SERVER_URL}/api/desktop/plan`, {+ headers: { authorization: `Bearer ${value.token}` },+ });+ if (res.status !== 200) return redirect("/signin");return value;}, "getAuth");@@ -291,12 +296,12 @@ export default function () {if (!options.data) return;if (!item || !item.isCamera) {- await setOptions({+ setOptions({...options.data,cameraLabel: null,});} else {- await setOptions({+ setOptions({...options.data,cameraLabel: item.name,});diff --git a/apps/desktop/src/store.ts b/apps/desktop/src/store.tsindex b60ba5714..ce3c2d40d 100644--- a/apps/desktop/src/store.ts+++ b/apps/desktop/src/store.ts@@ -7,7 +7,14 @@ import type {GeneralSettingsStore,} from "~/utils/tauri";-const store = new Store("store");+let _store: Promise<Store> | undefined;+const store = () => {+ if (!_store) {+ _store = Store.load("store");+ }++ return _store;+};export type PresetsStore = {presets: Array<{@@ -18,37 +25,42 @@ export type PresetsStore = {};export const presetsStore = {- get: () => store.get<PresetsStore>("presets"),+ get: () => store().then((s) => s.get<PresetsStore>("presets")),set: async (value: PresetsStore) => {- await store.set("presets", value);- await store.save();+ const s = await store();+ await s.set("presets", value);+ await s.save();},- listen: (fn: (data: PresetsStore | null) => void) =>- store.onKeyChange<PresetsStore>("presets", fn),+ listen: (fn: (data: PresetsStore | undefined) => void) =>+ store().then((s) => s.onKeyChange<PresetsStore>("presets", fn)),};export const authStore = {- get: () => store.get<AuthStore>("auth"),- set: async (value: AuthStore | null) => {- await store.set("auth", value);- await store.save();+ get: () => store().then((s) => s.get<AuthStore>("auth")),+ set: async (value: AuthStore | undefined) => {+ const s = await store();+ await s.set("auth", value);+ await s.save();},- listen: (fn: (data: AuthStore | null) => void) =>- store.onKeyChange<AuthStore>("presets", fn),+ listen: (fn: (data: AuthStore | undefined) => void) =>+ store().then((s) => s.onKeyChange<AuthStore>("presets", fn)),};export const hotkeysStore = {- get: () => store.get<HotkeysStore>("hotkeys"),+ get: () => store().then((s) => s.get<HotkeysStore>("hotkeys")),set: async (value: HotkeysStore) => {- await store.set("hotkeys", value);- await store.save();+ const s = await store();+ await s.set("hotkeys", value);+ await s.save();},};export const generalSettingsStore = {- get: () => store.get<GeneralSettingsStore>("general_settings"),+ get: () =>+ store().then((s) => s.get<GeneralSettingsStore>("general_settings")),set: async (value: GeneralSettingsStore) => {- await store.set("general_settings", value);- await store.save();+ const s = await store();+ await s.set("general_settings", value);+ await s.save();},-};\ No newline at end of file+};diff --git a/apps/desktop/src/utils/tauri.ts b/apps/desktop/src/utils/tauri.tsindex e43065dc0..e9a4c1e35 100644--- a/apps/desktop/src/utils/tauri.ts+++ b/apps/desktop/src/utils/tauri.ts@@ -326,6 +326,7 @@ async seekTo(videoId: string, frameNumber: number) : Promise<void> {export const events = __makeEvents__<{+authenticationInvalid: AuthenticationInvalid,currentRecordingChanged: CurrentRecordingChanged,editorStateChanged: EditorStateChanged,newNotification: NewNotification,@@ -343,6 +344,7 @@ requestStartRecording: RequestStartRecording,requestStopRecording: RequestStopRecording,showCapturesPanel: ShowCapturesPanel}>({+authenticationInvalid: "authentication-invalid",currentRecordingChanged: "current-recording-changed",editorStateChanged: "editor-state-changed",newNotification: "new-notification",@@ -372,6 +374,7 @@ export type Audio = { duration: number; sample_rate: number; channels: number }export type AudioConfiguration = { mute: boolean; improve: boolean }export type AudioMeta = { path: string }export type AuthStore = { token: string; expires: number; plan: Plan | null }+export type AuthenticationInvalid = nullexport type BackgroundConfiguration = { source: BackgroundSource; blur: number; padding: number; rounding: number; inset: number; crop: Crop | null }export type BackgroundSource = { type: "wallpaper"; id: number } | { type: "image"; path: string | null } | { type: "color"; value: [number, number, number] } | { type: "gradient"; from: [number, number, number]; to: [number, number, number]; angle?: number }export type Bounds = { x: number; y: number; width: number; height: number }@@ -449,7 +452,7 @@ type __EventObj__<T> = {once: (cb: TAURI_API_EVENT.EventCallback<T>,) => ReturnType<typeof TAURI_API_EVENT.once<T>>;- emit: T extends null+ emit: null extends T? (payload?: T) => ReturnType<typeof TAURI_API_EVENT.emit>: (payload: T) => ReturnType<typeof TAURI_API_EVENT.emit>;};diff --git a/apps/desktop/tsconfig.json b/apps/desktop/tsconfig.jsonindex 9d33cb6e3..003df3d4a 100644--- a/apps/desktop/tsconfig.json+++ b/apps/desktop/tsconfig.json@@ -22,6 +22,5 @@"~/*": ["./src/*"]}},- "include": ["src"],- "references": [{ "path": "./tsconfig.node.json" }]+ "include": ["src"]}diff --git a/apps/desktop/tsconfig.node.json b/apps/desktop/tsconfig.node.jsondeleted file mode 100644index 42872c59f..000000000--- a/apps/desktop/tsconfig.node.json+++ /dev/null@@ -1,10 +0,0 @@-{- "compilerOptions": {- "composite": true,- "skipLibCheck": true,- "module": "ESNext",- "moduleResolution": "bundler",- "allowSyntheticDefaultImports": true- },- "include": ["vite.config.ts"]-}diff --git a/crates/editor/Cargo.toml b/crates/editor/Cargo.tomlindex 58d647fe4..836a0a44a 100644--- a/crates/editor/Cargo.toml+++ b/crates/editor/Cargo.toml@@ -14,5 +14,5 @@ cpal = "0.15.3"serde_json = "1.0.128"axum = { version = "0.7.5", features = ["ws"] }ffmpeg.workspace = true-specta = "=2.0.0-rc.19"+specta.workspace = trueserde = { version = "1", features = ["derive"] }diff --git a/crates/ffmpeg/Cargo.toml b/crates/ffmpeg/Cargo.tomlindex 774671010..d2f93af7d 100644--- a/crates/ffmpeg/Cargo.toml+++ b/crates/ffmpeg/Cargo.toml@@ -7,5 +7,5 @@ edition = "2021"ffmpeg-sidecar = "1.1.0"cap-utils = { path = "../utils" }tauri = { workspace = true }-tauri-plugin-shell = "2.0.0-rc"+tauri-plugin-shell = "2.0.0"nix = { version = "0.29.0", features = ["signal"] }diff --git a/crates/flags/Cargo.toml b/crates/flags/Cargo.tomlindex 50dff5db1..32deda96e 100644--- a/crates/flags/Cargo.toml+++ b/crates/flags/Cargo.toml@@ -5,4 +5,4 @@ edition = "2021"[dependencies]serde = "1.0.214"-specta = "=2.0.0-rc.19"+specta.workspace = truediff --git a/crates/flags/src/lib.rs b/crates/flags/src/lib.rsindex 86d40bc16..c287e0c64 100644--- a/crates/flags/src/lib.rs+++ b/crates/flags/src/lib.rs@@ -11,5 +11,5 @@ pub const FLAGS: Flags = Flags {record_mouse: cfg!(debug_assertions),split: false,pause_resume: false,- zoom: false,+ zoom: cfg!(debug_assertions),};diff --git a/crates/media/Cargo.toml b/crates/media/Cargo.tomlindex 09e153913..90834ba4e 100644--- a/crates/media/Cargo.toml+++ b/crates/media/Cargo.toml@@ -19,7 +19,7 @@ nokhwa = { git = "https://github.com/capsoftware/nokhwa", rev = "6ce1e8270d57",] }scap = { git = "https://github.com/filleduchaos/scap", rev = "8eb00ce1b9bcf" }serde = { version = "1", features = ["derive"] }-specta = "=2.0.0-rc.19"+specta.workspace = truetempfile = "3.12.0"thiserror = "1.0"tracing = "0.1"diff --git a/crates/project/Cargo.toml b/crates/project/Cargo.tomlindex 31bf17d3a..6fe9fb061 100644--- a/crates/project/Cargo.toml+++ b/crates/project/Cargo.toml@@ -4,6 +4,6 @@ version = "0.1.0"edition = "2021"[dependencies]-specta = { version = "=2.0.0-rc.19", features = ["derive"] }+specta = { workspace = true, features = ["derive"] }serde = { version = "1.0.209", features = ["derive"] }serde_json = "1.0.127"diff --git a/crates/rendering/Cargo.toml b/crates/rendering/Cargo.tomlindex 19fdac39a..060641336 100644--- a/crates/rendering/Cargo.toml+++ b/crates/rendering/Cargo.toml@@ -8,7 +8,7 @@ anyhow.workspace = truebytemuck = { version = "1.7", features = ["derive"] }futures-intrusive = "0.5.0"serde = "1.0.209"-specta = "2.0.0-rc.19"+specta.workspace = truewgpu = "22.1.0"image = "0.25.2"diff --git a/crates/rendering/src/lib.rs b/crates/rendering/src/lib.rsindex 9544bdf93..b034e39bd 100644--- a/crates/rendering/src/lib.rs+++ b/crates/rendering/src/lib.rs@@ -6,9 +6,10 @@ use futures::future::OptionFuture;use futures_intrusive::channel::shared::oneshot_channel;use serde::{Deserialize, Serialize};use specta::Type;+use std::ops::Add;use std::{collections::HashMap, sync::Arc};use wgpu::util::DeviceExt;-use wgpu::COPY_BYTES_PER_ROW_ALIGNMENT;+use wgpu::{CommandEncoder, COPY_BYTES_PER_ROW_ALIGNMENT};use cap_project::{AspectRatio, BackgroundSource, CameraXPosition, CameraYPosition, Crop, CursorData, CursorEvent,@@ -26,7 +27,6 @@ use image::GenericImageView;pub mod decoder;pub use decoder::DecodedFrame;-// Change this constant from 100.0 to 50.0const STANDARD_CURSOR_HEIGHT: f32 = 50.0; // Standard height for all cursors#[derive(Debug, Clone, Serialize, Deserialize, Type)]@@ -358,6 +358,22 @@ pub struct ProjectUniforms {pub cursor_size: f32,display: CompositeVideoFrameUniforms,camera: Option<CompositeVideoFrameUniforms>,+ pub zoom: Zoom,+}++#[derive(Debug, Clone)]+pub struct Zoom {+ pub amount: f32,+ pub zoom_origin: (f32, f32),+}++impl Zoom {+ pub fn apply_scale(&self, screen_position: (f32, f32)) -> (f32, f32) {+ (+ (screen_position.0 - self.zoom_origin.0) * self.amount + self.zoom_origin.0,+ (screen_position.1 - self.zoom_origin.1) * self.amount + self.zoom_origin.1,+ )+ }}const CAMERA_PADDING: f32 = 50.0;@@ -429,7 +445,16 @@ impl ProjectUniforms {let zoom_keyframes = ZoomKeyframes::new(project);- let display = {+ let (zoom, zoom_origin_uv) = if let Some(cursor_position) = cursor_position {+ (+ zoom_keyframes.get_amount(time as f64),+ (cursor_position.0 as f32, cursor_position.1 as f32),+ )+ } else {+ (1.0, (0.0, 0.0))+ };++ let (display, zoom) = {let output_size = [output_size.0 as f32, output_size.1 as f32];let size = [options.screen_size.0 as f32, options.screen_size.1 as f32];@@ -485,44 +510,42 @@ impl ProjectUniforms {target_bounds[3] - target_bounds[1],];- let (zoom, zoom_origin_uv) = if let Some(cursor_position) = cursor_position {- (- zoom_keyframes.get_amount(time as f64),- (cursor_position.0 as f32, cursor_position.1 as f32),- )- } else {- (1.0, (0.0, 0.0))- };-let screen_scale_origin = (target_bounds[0] + target_size[0] * zoom_origin_uv.0,target_bounds[1] + target_size[1] * zoom_origin_uv.1,);- let apply_scale = |val, offset| (val - offset) * zoom as f32 + offset;+ let zoom = Zoom {+ amount: zoom as f32,+ zoom_origin: screen_scale_origin,+ // padding: screen_scale_origin,+ };// post-zoom- let target_bounds = [- apply_scale(target_bounds[0], screen_scale_origin.0),- apply_scale(target_bounds[1], screen_scale_origin.1),- apply_scale(target_bounds[2], screen_scale_origin.0),- apply_scale(target_bounds[3], screen_scale_origin.1),- ];+ let target_bounds = {+ let start = zoom.apply_scale((target_bounds[0], target_bounds[1]));+ let end = zoom.apply_scale((target_bounds[2], target_bounds[3]));++ [start.0, start.1, end.0, end.1]+ };let target_size = [target_bounds[2] - target_bounds[0],target_bounds[3] - target_bounds[1],];let min_target_axis = target_size[0].min(target_size[1]);- CompositeVideoFrameUniforms {- output_size,- frame_size: size,- crop_bounds,- target_bounds,- target_size,- rounding_px: project.background.rounding / 100.0 * 0.5 * min_target_axis,- ..Default::default()- }+ (+ CompositeVideoFrameUniforms {+ output_size,+ frame_size: size,+ crop_bounds,+ target_bounds,+ target_size,+ rounding_px: project.background.rounding / 100.0 * 0.5 * min_target_axis,+ ..Default::default()+ },+ zoom,+ )};let camera = options@@ -585,6 +608,7 @@ impl ProjectUniforms {cursor_size: project.cursor.size as f32,display,camera,+ zoom,}}}@@ -795,6 +819,17 @@ pub async fn produce_frame(output_is_left = !output_is_left;}+ if FLAGS.zoom {+ // Then render the cursor+ draw_cursor(+ constants,+ uniforms,+ time,+ &mut encoder,+ get_either(texture_views, !output_is_left),+ );+ }+// cameraif let (Some(camera_size), Some(camera_frame), Some(uniforms)) = (constants.options.camera_size,@@ -858,131 +893,6 @@ pub async fn produce_frame(output_is_left = !output_is_left;}- // Finally, render the cursor directly to the output texture- {- if FLAGS.zoom {- if let Some(cursor_position) = interpolate_cursor_position(&constants.cursor, time) {- println!(- "Raw cursor position: ({}, {})",- cursor_position.0, cursor_position.1- );-- let cursor_event = find_cursor_event(&constants.cursor, time);- println!("Found cursor event with ID: {}", cursor_event.cursor_id);-- if let Some(cursor_texture) = constants.cursor_textures.get(&cursor_event.cursor_id)- {- let cursor_size = cursor_texture.size();- let aspect_ratio = cursor_size.width as f32 / cursor_size.height as f32;-- // Use a default cursor size if the uniform value is 0- let cursor_size_percentage = if uniforms.cursor_size <= 0.0 {- 100.0- } else {- uniforms.cursor_size- };- let scale_factor = cursor_size_percentage / 100.0;-- let normalized_size = [- STANDARD_CURSOR_HEIGHT * aspect_ratio * scale_factor,- STANDARD_CURSOR_HEIGHT * scale_factor,- ];-- println!(- "Original cursor size: {}x{}, Normalized size: {}x{}",- cursor_size.width,- cursor_size.height,- normalized_size[0],- normalized_size[1]- );-- // Convert normalized cursor position to screen space- let screen_x = cursor_position.0 * uniforms.output_size.0 as f64;- let screen_y = cursor_position.1 * uniforms.output_size.1 as f64;-- println!("Screen position: ({}, {})", screen_x, screen_y);-- let cursor_uniforms = CursorUniforms {- position: [screen_x as f32, screen_y as f32, 0.0, 0.0],- size: [normalized_size[0], normalized_size[1], 0.0, 0.0],- output_size: [- uniforms.output_size.0 as f32,- uniforms.output_size.1 as f32,- 0.0,- 0.0,- ],- screen_bounds: uniforms.display.target_bounds,- cursor_size: cursor_size_percentage,- padding: [0.0; 3],- _alignment: [0.0; 4],- };-- println!("Cursor uniforms: {:?}", cursor_uniforms);-- // Create the uniform buffer with the correct size- let cursor_uniform_buffer =- constants- .device- .create_buffer_init(&wgpu::util::BufferInitDescriptor {- label: Some("Cursor Uniform Buffer"),- contents: bytemuck::cast_slice(&[cursor_uniforms]), // This ensures proper size- usage: wgpu::BufferUsages::UNIFORM | wgpu::BufferUsages::COPY_DST,- });-- let cursor_bind_group =- constants- .device- .create_bind_group(&wgpu::BindGroupDescriptor {- layout: &constants.cursor_pipeline.bind_group_layout,- entries: &[- wgpu::BindGroupEntry {- binding: 0,- resource: cursor_uniform_buffer.as_entire_binding(),- },- wgpu::BindGroupEntry {- binding: 1,- resource: wgpu::BindingResource::TextureView(- &cursor_texture.create_view(- &wgpu::TextureViewDescriptor::default(),- ),- ),- },- wgpu::BindGroupEntry {- binding: 2,- resource:- wgpu::BindingResource::Sampler(- &constants.device.create_sampler(- &wgpu::SamplerDescriptor::default(),- ),- ),- },- ],- label: Some("Cursor Bind Group"),- });-- let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor {- label: Some("Cursor Render Pass"),- color_attachments: &[Some(wgpu::RenderPassColorAttachment {- view: get_either(texture_views, !output_is_left),- resolve_target: None,- ops: wgpu::Operations {- load: wgpu::LoadOp::Load,- store: wgpu::StoreOp::Store,- },- })],- depth_stencil_attachment: None,- timestamp_writes: None,- occlusion_query_set: None,- });-- render_pass.set_pipeline(&constants.cursor_pipeline.render_pipeline);- render_pass.set_bind_group(0, &cursor_bind_group, &[]);- render_pass.draw(0..4, 0..1);- }- }- }- }-// Now submit the encoderconstants.queue.submit(std::iter::once(encoder.finish()));@@ -1068,6 +978,134 @@ pub async fn produce_frame(Ok(image_data)}+fn draw_cursor(+ constants: &RenderVideoConstants,+ uniforms: &ProjectUniforms,+ time: f32,+ encoder: &mut CommandEncoder,+ view: &wgpu::TextureView,+) {+ let Some(cursor_position) = interpolate_cursor_position(&constants.cursor, time) else {+ return;+ };++ println!(+ "Raw cursor position: ({}, {})",+ cursor_position.0, cursor_position.1+ );++ let cursor_event = find_cursor_event(&constants.cursor, time);+ println!("Found cursor event with ID: {}", cursor_event.cursor_id);++ let Some(cursor_texture) = constants.cursor_textures.get(&cursor_event.cursor_id) else {+ return;+ };++ let cursor_size = cursor_texture.size();+ let aspect_ratio = cursor_size.width as f32 / cursor_size.height as f32;++ let cursor_size_percentage = if uniforms.cursor_size <= 0.0 {+ 100.0+ } else {+ uniforms.cursor_size+ };+ let scale_factor = cursor_size_percentage / 100.0;++ // Calculate normalized size maintaining aspect ratio+ let normalized_size = [+ STANDARD_CURSOR_HEIGHT * aspect_ratio,+ STANDARD_CURSOR_HEIGHT,+ ];++ println!(+ "Original cursor size: {}x{}, Normalized size: {}x{}",+ cursor_size.width, cursor_size.height, normalized_size[0], normalized_size[1]+ );++ let position = uniforms.zoom.apply_scale((+ uniforms.display.target_bounds[0]+ + cursor_position.0 as f32 * uniforms.display.target_size[0],+ uniforms.display.target_bounds[1]+ + cursor_position.1 as f32 * uniforms.display.target_size[1],+ ));++ println!("Screen position: ({}, {})", position.0, position.1);++ let cursor_uniforms = CursorUniforms {+ position: [position.0, position.1, 0.0, 0.0],+ size: [normalized_size[0], normalized_size[1], 0.0, 0.0],+ output_size: [+ uniforms.output_size.0 as f32,+ uniforms.output_size.1 as f32,+ 0.0,+ 0.0,+ ],+ screen_bounds: uniforms.display.target_bounds,+ cursor_size: cursor_size_percentage,+ padding: [0.0; 3],+ _alignment: [0.0; 4],+ };++ println!("Cursor uniforms: {:?}", cursor_uniforms);++ let cursor_uniform_buffer =+ constants+ .device+ .create_buffer_init(&wgpu::util::BufferInitDescriptor {+ label: Some("Cursor Uniform Buffer"),+ contents: bytemuck::cast_slice(&[cursor_uniforms]),+ usage: wgpu::BufferUsages::UNIFORM | wgpu::BufferUsages::COPY_DST,+ });++ let cursor_bind_group = constants+ .device+ .create_bind_group(&wgpu::BindGroupDescriptor {+ layout: &constants.cursor_pipeline.bind_group_layout,+ entries: &[+ wgpu::BindGroupEntry {+ binding: 0,+ resource: cursor_uniform_buffer.as_entire_binding(),+ },+ wgpu::BindGroupEntry {+ binding: 1,+ resource: wgpu::BindingResource::TextureView(+ &cursor_texture.create_view(&wgpu::TextureViewDescriptor::default()),+ ),+ },+ wgpu::BindGroupEntry {+ binding: 2,+ resource: wgpu::BindingResource::Sampler(+ &constants+ .device+ .create_sampler(&wgpu::SamplerDescriptor::default()),+ ),+ },+ ],+ label: Some("Cursor Bind Group"),+ });++ let mut render_pass = encoder.begin_render_pass(&wgpu::RenderPassDescriptor {+ label: Some("Cursor Render Pass"),+ color_attachments: &[Some(wgpu::RenderPassColorAttachment {+ view,+ resolve_target: None,+ ops: wgpu::Operations {+ load: wgpu::LoadOp::Load,+ store: wgpu::StoreOp::Store,+ },+ })],+ depth_stencil_attachment: None,+ timestamp_writes: None,+ occlusion_query_set: None,+ });++ render_pass.set_pipeline(&constants.cursor_pipeline.render_pipeline);+ render_pass.set_bind_group(0, &cursor_bind_group, &[]);+ render_pass.draw(0..4, 0..1);++ println!("Drew cursor");+}+struct CompositeVideoFramePipeline {pub bind_group_layout: wgpu::BindGroupLayout,pub render_pipeline: wgpu::RenderPipeline,@@ -1466,9 +1504,7 @@ struct CursorPipeline {render_pipeline: wgpu::RenderPipeline,}-// Add this before the CursorPipeline struct definition--#[repr(C, align(16))] // Add align(16) to ensure proper alignment+#[repr(C, align(16))]#[derive(Debug, Clone, Copy, Pod, Zeroable)]struct CursorUniforms {position: [f32; 4],@@ -1477,11 +1513,10 @@ struct CursorUniforms {screen_bounds: [f32; 4],cursor_size: f32,padding: [f32; 3],- _alignment: [f32; 4], // Add extra padding to ensure 16-byte alignment+ _alignment: [f32; 4],}-// Add this function near the other cursor-related functions-fn find_cursor_event<'a>(cursor: &'a CursorData, time: f32) -> &'a CursorEvent {+fn find_cursor_event(cursor: &CursorData, time: f32) -> &CursorEvent {let time_ms = time * 1000.0;println!("Finding cursor event for time: {}ms", time_ms);println!("Total cursor moves: {}", cursor.moves.len());@@ -1608,3 +1643,73 @@ impl CursorPipeline {}}}++struct Coordinate<Space> {+ pub space: Space,+ pub x: f64,+ pub y: f64,+}++impl<T> Add for Coordinate<T> {+ type Output = Self;++ fn add(self, rhs: Self) -> Self::Output {+ Coordinate {+ space: self.space,+ x: self.x + rhs.x,+ y: self.y + rhs.y,+ }+ }+}++impl<T> std::ops::Sub for Coordinate<T> {+ type Output = Self;++ fn sub(self, rhs: Self) -> Self::Output {+ Coordinate {+ space: self.space,+ x: self.x - rhs.x,+ y: self.y - rhs.y,+ }+ }+}++impl<T> std::ops::Mul<f64> for Coordinate<T> {+ type Output = Self;++ fn mul(self, rhs: f64) -> Self::Output {+ Coordinate {+ space: self.space,+ x: self.x * rhs,+ y: self.y * rhs,+ }+ }+}++impl<T> std::ops::Div<f64> for Coordinate<T> {+ type Output = Self;++ fn div(self, rhs: f64) -> Self::Output {+ Coordinate {+ space: self.space,+ x: self.x / rhs,+ y: self.y / rhs,+ }+ }+}++struct FrameSpace;+struct DisplaySpace {+ offset: Coordinate<FrameSpace>,+ scale: f64,+}++impl From<Coordinate<DisplaySpace>> for Coordinate<FrameSpace> {+ fn from(value: Coordinate<DisplaySpace>) -> Self {+ Coordinate {+ space: FrameSpace,+ x: value.x * value.space.scale + value.space.offset.x,+ y: value.y * value.space.scale + value.space.offset.y,+ }+ }+}diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex c7c43d06a..c1370ebb9 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -84,7 +84,7 @@ importers:version: 1.4.3([email protected])'@solid-primitives/storage':specifier: ^4.0.0- version: 4.2.1(@tauri-apps/[email protected])([email protected])+ version: 4.2.1(@tauri-apps/[email protected])([email protected])'@solid-primitives/timer':specifier: ^1.3.9version: 1.3.10([email protected])@@ -109,6 +109,9 @@ importers:'@tauri-apps/plugin-fs':specifier: 2.0.0-rc.0version: 2.0.0-rc.0+ '@tauri-apps/plugin-http':+ specifier: ^2.0.1+ version: 2.0.1'@tauri-apps/plugin-os':specifier: 2.0.0-rc.1version: 2.0.0-rc.1@@ -119,8 +122,8 @@ importers:specifier: '>=2.0.0-rc.0'version: 2.0.0-rc.1'@tauri-apps/plugin-store':- specifier: 2.0.0-rc.0- version: 2.0.0-rc.0+ specifier: 2.1.0+ version: 2.1.0'@tauri-apps/plugin-updater':specifier: 2.0.0-rc.0version: 2.0.0-rc.0@@ -4009,10 +4012,10 @@ packages:react-dom:optional: true- '@storybook/[email protected]':- resolution: {integrity: sha512-RoXwed7jWRjqKKc4Cl2nx0gxkcuhyD9iwotaUOXkEzKdgtVJh5YAAHv9qRmT+c5MrUsPbg87CekdVA9wEtZoPw==}+ '@storybook/[email protected]':+ resolution: {integrity: sha512-OJ8ixXSEs03EA/49gjQxRl1AV6r1j87mB4/aDYlc2ksqI5YHBBX/igsM5N0nXAyhPpRYa2cxaZCqNG7aROug2g==}peerDependencies:- storybook: ^8.4.0-beta.1+ storybook: ^8.4.0-beta.5vite: ^4.0.0 || ^5.0.0'@storybook/[email protected]':@@ -4023,10 +4026,10 @@ packages:peerDependencies:storybook: ^8.3.3- '@storybook/[email protected]':- resolution: {integrity: sha512-Hv2HViSS+bpf3eLpkjA8UUWoTVH/7j75LzjYFHiKsVs/yya569rKUqTGtpB5bcEwnbj3ROCECMY+mBoAOWoLAw==}+ '@storybook/[email protected]':+ resolution: {integrity: sha512-JCC+5/y5Mh/md/tyc7sSLi9ve+8Lgr5wltzMZInPDxY5BT/s3bmLHZhE/Q+UQXhN/XfZJmVVrYHtnVDRhZI1OA==}peerDependencies:- storybook: ^8.4.0-beta.1+ storybook: ^8.4.0-beta.5'@storybook/[email protected]':resolution: {integrity: sha512-dHYFQH3mA+EtnCkHXzicbLgsvzYjcDJ1JWsogbItZogkPHgSJM/Wr71uMkcvw8v9mmCyP4NpXJuu6bPoVsOnzg==}@@ -4123,6 +4126,9 @@ packages:'@tauri-apps/[email protected]':resolution: {integrity: sha512-JWs69pE9NsQdcqTpEVBepAZ08+jgQWuthIiTiaWRq/YlCLgnqq0KfC9sDem55uJ0YpgsytZuyj+m6b6q8oiD2g==}+ '@tauri-apps/[email protected]':+ resolution: {integrity: sha512-840qk6n8rbXBXMA5/aAgTYsg5JAubKO0nXw5wf7IzGnUuYKGbB4oFBIZtXOIWy+E0kNTDI3qhq5iqsoMJfwp8g==}+'@tauri-apps/[email protected]':resolution: {integrity: sha512-6mdRyf9DaLqlZvj8kZB09U3rwY+dOHSGzTZ7+GDg665GJb17f4cb30e8dExj6/aghcsOie9EGpgiURcDUvLNSQ==}engines: {node: '>= 10'}@@ -4259,6 +4265,9 @@ packages:'@tauri-apps/[email protected]':resolution: {integrity: sha512-74VCXEZlzTJ+Jv1V3KrV0qIHhSePpE/ljsF78rcEuvSfyTxLtt/Sb5CIUmVhFlKTRFOH9dX50T4dTZ3qFLyRnA==}+ '@tauri-apps/[email protected]':+ resolution: {integrity: sha512-j6IA3pVBybSCwPpsihpX4z8bs6PluuGtr06ahL/xy4D8HunNBTmRmadJrFOQi0gOAbaig4MkQ15nzNLBLy8R1A==}+'@tauri-apps/[email protected]':resolution: {integrity: sha512-PV8zlSTmYfiN2xzILUmlDSEycS7UYbH2yXk/ZqF+qQU6/s+OVQvmSth4EhllFjcpvPbtqELvpzfjw+2qEouchA==}@@ -4268,8 +4277,8 @@ packages:'@tauri-apps/[email protected]':resolution: {integrity: sha512-JtNROc0rqEwN/g93ig5pK4cl1vUo2yn+osCpY9de64cy/d9hRzof7AuYOgvt/Xcd5VPQmlgo2AGvUh5sQRSR1A==}- '@tauri-apps/[email protected]':- resolution: {integrity: sha512-KqiEzq6EdRwxrl0/FwyNLwumDBM91xTchdu2a8vfkNub30GuP9z7RskP9ifVRI1gbxfa5TUDi0hKFk/SP7TANQ==}+ '@tauri-apps/[email protected]':+ resolution: {integrity: sha512-GADqrc17opUKYIAKnGHIUgEeTZ2wJGu1ZITKQ1WMuOFdv8fvXRFBAqsqPjE3opgWohbczX6e1NpwmZK1AnuWVw==}'@tauri-apps/[email protected]':resolution: {integrity: sha512-EKajf/sBpFif0cwXhTo3BmNvTZ2t2DDLRyhA8FFKugZNoOeqU97bHhPT5DIqMUPRE1tyDk9o7sXm8dKf7oz+EA==}@@ -13733,12 +13742,12 @@ snapshots:'@solid-primitives/utils': 6.2.3([email protected])solid-js: 1.9.1dependencies:'@solid-primitives/utils': 6.2.3([email protected])solid-js: 1.9.1optionalDependencies:- '@tauri-apps/plugin-store': 2.0.0-rc.0+ '@tauri-apps/plugin-store': 2.1.0'@solid-primitives/[email protected]([email protected])':dependencies:@@ -13914,9 +13923,9 @@ snapshots:react: 18.3.1react-dom: 18.3.1([email protected])- '@storybook/[email protected]([email protected])([email protected](@types/[email protected])([email protected]))':+ '@storybook/[email protected]([email protected])([email protected](@types/[email protected])([email protected]))':dependencies:- '@storybook/csf-plugin': 8.4.0-beta.1([email protected])+ '@storybook/csf-plugin': 8.4.0-beta.5([email protected])browser-assert: 1.2.1storybook: 8.3.3ts-dedent: 2.2.0@@ -13951,7 +13960,7 @@ snapshots:transitivePeerDependencies:- webpack-sources- '@storybook/[email protected]([email protected])':+ '@storybook/[email protected]([email protected])':dependencies:storybook: 8.3.3unplugin: 1.14.1@@ -14059,6 +14068,8 @@ snapshots:'@tauri-apps/[email protected]': {}+ '@tauri-apps/[email protected]': {}+'@tauri-apps/[email protected]':optional: true@@ -14153,6 +14164,10 @@ snapshots:dependencies:'@tauri-apps/api': 2.0.0-rc.5+ '@tauri-apps/[email protected]':+ dependencies:+ '@tauri-apps/api': 2.0.3+'@tauri-apps/[email protected]':dependencies:'@tauri-apps/api': 2.0.0-rc.5@@ -14165,9 +14180,9 @@ snapshots:dependencies:'@tauri-apps/api': 2.0.0-rc.5- '@tauri-apps/[email protected]':+ '@tauri-apps/[email protected]':dependencies:- '@tauri-apps/api': 2.0.0-rc.5+ '@tauri-apps/api': 2.0.3'@tauri-apps/[email protected]':dependencies:@@ -20700,7 +20715,7 @@ snapshots:[email protected]([email protected])([email protected](@types/[email protected])([email protected])):dependencies:- '@storybook/builder-vite': 8.4.0-beta.1([email protected])([email protected](@types/[email protected])([email protected]))+ '@storybook/builder-vite': 8.4.0-beta.5([email protected])([email protected](@types/[email protected])([email protected]))transitivePeerDependencies:- storybook- vite