Compare commits

..

8 Commits

Author SHA1 Message Date
github-actions[bot] 8a45c35160 publish new versions (#1764)
Co-authored-by: lucasfernog <lucasfernog@users.noreply.github.com>
2024-09-12 15:49:29 -03:00
Lucas Nogueira ebf821afd1 chore(examples): update AndroidManifest.xml 2024-09-12 15:32:27 -03:00
Lucas Fernandes Nogueira 984110a978 fix(deep-link): emit new-url event on app load (#1770) 2024-09-12 11:20:16 -03:00
Lucas Fernandes Nogueira 2b898f0786 fix(dialog): update asset protocol scope on directory open, closes #1553 (#1769) 2024-09-12 11:10:16 -03:00
Tony b2269333e3 chore(single-instance): put deep link integration behined a feature (#1766)
* Make deep link optional for single instance

* Add change file

* Add deep-link feature to example

* Update plugins/deep-link/README.md

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>

* format

* [skip ci] update readme

---------

Co-authored-by: Fabian-Lars <fabianlars@fabianlars.de>
2024-09-12 18:20:15 +08:00
renovate[bot] 41afcae399 chore(deps): update dependency rollup to v4.21.3 (v2) (#1767)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-12 12:01:38 +02:00
SRutile 9291e4d2ca fix(fs): support any UTF-8 path in writeFile (#1640)
* In the `writeFile` function, when `options.baseDir` is not set, convert `path` to URL to avoid errors caused by Chinese characters.

* fmt

* use TextEncoder

* use percent encoding

* add change file

* fmt

---------

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
2024-09-11 12:02:24 -03:00
renovate[bot] 3715f3c9a6 chore(deps): update tauri monorepo (#1760)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2024-09-11 09:12:13 +08:00
41 changed files with 346 additions and 278 deletions
+6
View File
@@ -0,0 +1,6 @@
---
"deep-link": patch
---
Emit the `deep-link://new-url` event on Linux and Windows when the app is executed with a deep link CLI argument,
matching the iOS and macOS behavior.
+5
View File
@@ -0,0 +1,5 @@
---
"dialog": patch
---
Update Tauri scopes (asset protocol) when using the `open()` command to select directories.
+5
View File
@@ -0,0 +1,5 @@
---
"fs": patch
---
Support any UTF-8 character in the writeFile API.
+4
View File
@@ -5,8 +5,10 @@
".changes/barcode-dependencies.md",
".changes/barcode-scanner-validate-plist.md",
".changes/consolidate-permission-state.md",
".changes/deep-link-event.md",
".changes/deep-link-get-current-desktop.md",
".changes/deep-link-register-all.md",
".changes/dialog-asset-scope.md",
".changes/dialog-file-response-non-exhaustive.md",
".changes/dialog-return-path.md",
".changes/fix-deep-link-config.md",
@@ -21,6 +23,7 @@
".changes/fs-dialog-safe-file-path.md",
".changes/fs-scope-recursive-allow-read-dir.md",
".changes/fs-windows-path.md",
".changes/fs-write-file-utf8-chars.md",
".changes/geolocation-release.md",
".changes/global-shortcut-0.6.md",
".changes/haptics-release.md",
@@ -34,6 +37,7 @@
".changes/shell-open-regex-match-string.md",
".changes/shell-regex-match-string.md",
".changes/single-instance-deep-link.md",
".changes/single-instance-optional-deep-link.md",
".changes/single-instance-windows-sys.0.59.md",
".changes/sql-uuid-type.md",
".changes/store-remove-mobile-plugin.md",
@@ -0,0 +1,5 @@
---
"single-instance": "patch"
---
Put deep link integration behined a feature
Generated
+24 -23
View File
@@ -212,7 +212,7 @@ checksum = "10f00e1f6e58a40e807377c75c6a7f97bf9044fab57816f2414e6f5f4499d7b8"
[[package]]
name = "api"
version = "2.0.0-rc.5"
version = "2.0.0-rc.6"
dependencies = [
"log",
"serde",
@@ -6297,9 +6297,9 @@ checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
[[package]]
name = "tauri"
version = "2.0.0-rc.10"
version = "2.0.0-rc.11"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a6327f79726c508efbbc3826b343fd7d39ebce786bdeff5881077b35d335d9e0"
checksum = "4f60dc86a0513f775a6515d79cf2a54ce38f2fa7225e0c5b9d5ae8241e599afa"
dependencies = [
"anyhow",
"bytes",
@@ -6350,9 +6350,9 @@ dependencies = [
[[package]]
name = "tauri-build"
version = "2.0.0-rc.9"
version = "2.0.0-rc.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7938a610d1474435fa38dfba66c95ce9be7f17b500672b6e00072bca5e52fef3"
checksum = "f9d6fc774b19bedadd547b0310fbdbfadbc7546978eccd6d3e389be7cabc437a"
dependencies = [
"anyhow",
"cargo_toml",
@@ -6374,9 +6374,9 @@ dependencies = [
[[package]]
name = "tauri-codegen"
version = "2.0.0-rc.9"
version = "2.0.0-rc.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "467d3e95b57c860bea13b7c812820d9e7425e4b700e5e69b358d906f22022007"
checksum = "d14af7a85713898cb8a6be3ece89eb1c39392d8756dd1cc0309ebd6fdc966eb3"
dependencies = [
"base64 0.22.1",
"brotli",
@@ -6401,9 +6401,9 @@ dependencies = [
[[package]]
name = "tauri-macros"
version = "2.0.0-rc.8"
version = "2.0.0-rc.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "c4585a906bd96bf57d063c3d60c52577ccc5de592d08f9d112e873ada79af9b9"
checksum = "b9f698301cd7297a7876bb81181a830d40d401461eb14fdaf7ae189b1b56ef76"
dependencies = [
"heck 0.5.0",
"proc-macro2",
@@ -6415,9 +6415,9 @@ dependencies = [
[[package]]
name = "tauri-plugin"
version = "2.0.0-rc.9"
version = "2.0.0-rc.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b905ecef194245bb35baba0447703f9fe40e4c03e946c7aba54c21c23e3452c7"
checksum = "ad2b0b4fe684059a1b700c1a0d7d51698c05b2257ca64eca2a730d7be2e47c6a"
dependencies = [
"anyhow",
"glob",
@@ -6497,7 +6497,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-deep-link"
version = "2.0.0-rc.4"
version = "2.0.0-rc.5"
dependencies = [
"dunce",
"log",
@@ -6515,7 +6515,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-dialog"
version = "2.0.0-rc.5"
version = "2.0.0-rc.6"
dependencies = [
"log",
"raw-window-handle 0.6.2",
@@ -6531,13 +6531,14 @@ dependencies = [
[[package]]
name = "tauri-plugin-fs"
version = "2.0.0-rc.3"
version = "2.0.0-rc.4"
dependencies = [
"anyhow",
"dunce",
"glob",
"notify",
"notify-debouncer-full",
"percent-encoding",
"schemars",
"serde",
"serde_json",
@@ -6590,7 +6591,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-http"
version = "2.0.0-rc.3"
version = "2.0.0-rc.4"
dependencies = [
"data-url",
"http",
@@ -6694,7 +6695,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-persisted-scope"
version = "2.0.0-rc.3"
version = "2.0.0-rc.4"
dependencies = [
"aho-corasick",
"bincode",
@@ -6748,7 +6749,7 @@ dependencies = [
[[package]]
name = "tauri-plugin-single-instance"
version = "2.0.0-rc.2"
version = "2.0.0-rc.3"
dependencies = [
"log",
"semver",
@@ -6888,9 +6889,9 @@ dependencies = [
[[package]]
name = "tauri-runtime"
version = "2.0.0-rc.9"
version = "2.0.0-rc.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "b72cd110a6699ef44963504d4fa4f6c535677bb0177da2d178f4f822a53058ed"
checksum = "6a0758dce4f9e08ebeee877d84de0062859495507e1d16f647f97b29f881b43d"
dependencies = [
"dpi",
"gtk",
@@ -6907,9 +6908,9 @@ dependencies = [
[[package]]
name = "tauri-runtime-wry"
version = "2.0.0-rc.9"
version = "2.0.0-rc.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1eb325cca17496ccbb469e7e2fef7f3e31a1005ab0c658dc3331c7781a573401"
checksum = "78dd7f77e769630da5d91a55e4f102a84ff9c5a99c71e1b5c916a18b5ccafc16"
dependencies = [
"cocoa 0.26.0",
"gtk",
@@ -6931,9 +6932,9 @@ dependencies = [
[[package]]
name = "tauri-utils"
version = "2.0.0-rc.9"
version = "2.0.0-rc.10"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6746b87c4755f493b94920622e245aef2d771f001ddeffc203e315872d323e1c"
checksum = "ba92ad9cdf7658fefa29a7218dda0acead9400c021bbf9c3f88e98f5e3b9bbab"
dependencies = [
"aes-gcm",
"brotli",
+4 -4
View File
@@ -11,10 +11,10 @@ resolver = "2"
[workspace.dependencies]
serde = { version = "1", features = ["derive"] }
log = "0.4"
tauri = { version = "2.0.0-rc.10", default-features = false }
tauri-build = "2.0.0-rc.9"
tauri-plugin = "2.0.0-rc.9"
tauri-utils = "2.0.0-rc.9"
tauri = { version = "2.0.0-rc.11", default-features = false }
tauri-build = "2.0.0-rc.10"
tauri-plugin = "2.0.0-rc.10"
tauri-utils = "2.0.0-rc.10"
serde_json = "1"
thiserror = "1"
url = "2"
+1 -1
View File
@@ -31,7 +31,7 @@
"@iconify-json/codicon": "^1.1.37",
"@iconify-json/ph": "^1.1.8",
"@sveltejs/vite-plugin-svelte": "^3.0.1",
"@tauri-apps/cli": "2.0.0-rc.12",
"@tauri-apps/cli": "2.0.0-rc.13",
"@unocss/extractor-svelte": "^0.62.0",
"svelte": "^4.2.19",
"unocss": "^0.62.0",
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## \[2.0.0-rc.6]
### Dependencies
- Upgraded to `dialog@2.0.0-rc.6`
- Upgraded to `fs@2.0.0-rc.4`
- Upgraded to `http@2.0.0-rc.4`
## \[2.0.0-rc.5]
### Dependencies
+4 -4
View File
@@ -1,7 +1,7 @@
[package]
name = "api"
publish = false
version = "2.0.0-rc.5"
version = "2.0.0-rc.6"
description = "An example Tauri Application showcasing the api"
edition = "2021"
rust-version = { workspace = true }
@@ -20,14 +20,14 @@ serde = { workspace = true }
tiny_http = "0.12"
log = { workspace = true }
tauri-plugin-log = { path = "../../../plugins/log", version = "2.0.0-rc.2" }
tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-rc.3", features = [
tauri-plugin-fs = { path = "../../../plugins/fs", version = "2.0.0-rc.4", features = [
"watch",
] }
tauri-plugin-clipboard-manager = { path = "../../../plugins/clipboard-manager", version = "2.0.0-rc.3" }
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-rc.5" }
tauri-plugin-dialog = { path = "../../../plugins/dialog", version = "2.0.0-rc.6" }
tauri-plugin-http = { path = "../../../plugins/http", features = [
"multipart",
], version = "2.0.0-rc.3" }
], version = "2.0.0-rc.4" }
tauri-plugin-notification = { path = "../../../plugins/notification", version = "2.0.0-rc.4", features = [
"windows7-compat",
] }
+1 -1
View File
@@ -20,7 +20,7 @@
"eslint-config-prettier": "9.1.0",
"eslint-plugin-security": "3.0.1",
"prettier": "3.3.3",
"rollup": "4.21.2",
"rollup": "4.21.3",
"tslib": "2.7.0",
"typescript": "5.6.2",
"typescript-eslint": "8.5.0"
+6 -1
View File
@@ -1,5 +1,10 @@
# Changelog
## \[2.0.0-rc.5]
- [`984110a9`](https://github.com/tauri-apps/plugins-workspace/commit/984110a978774712bad4d746ed06134d54debcd0) ([#1770](https://github.com/tauri-apps/plugins-workspace/pull/1770) by [@lucasfernog](https://github.com/tauri-apps/plugins-workspace/../../lucasfernog)) Emit the `deep-link://new-url` event on Linux and Windows when the app is executed with a deep link CLI argument,
matching the iOS and macOS behavior.
## \[2.0.0-rc.2]
- [`64a6240f`](https://github.com/tauri-apps/plugins-workspace/commit/64a6240f79fcd52267c8d721b727ae695055d7ff) ([#1759](https://github.com/tauri-apps/plugins-workspace/pull/1759) by [@lucasfernog](https://github.com/tauri-apps/plugins-workspace/../../lucasfernog)) Implement `get_current` on Linux and Windows.
@@ -108,6 +113,6 @@
- [`eccd6f9`](https://github.com/tauri-apps/plugins-workspace/commit/eccd6f977af7629255b6f5a5205666c9079a86ed)([#504](https://github.com/tauri-apps/plugins-workspace/pull/504)) Initial release.
commit/eccd6f977af7629255b6f5a5205666c9079a86ed)([#504](https://github.com/tauri-apps/plugins-workspace/pull/504)) Initial release.
ithub.com/tauri-apps/plugins-workspace/pull/504)) Initial release.
](https://github.com/tauri-apps/plugins-workspace/commit/eccd6f977af7629255b6f5a5205666c9079a86ed)([#504](https://github.com/tauri-apps/plugins-workspace/pull/504)) Initial release.
]\(https://github.com/tauri-apps/plugins-workspace/commit/eccd6f977af7629255b6f5a5205666c9079a86ed)([#504](https://github.com/tauri-apps/plugins-workspace/pull/504)) Initial release.
commit/eccd6f977af7629255b6f5a5205666c9079a86ed)([#504](https://github.com/tauri-apps/plugins-workspace/pull/504)) Initial release.
ithub.com/tauri-apps/plugins-workspace/pull/504)) Initial release.
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-deep-link"
version = "2.0.0-rc.4"
version = "2.0.0-rc.5"
description = "Set your Tauri application as the default handler for an URL"
authors = { workspace = true }
license = { workspace = true }
+1 -1
View File
@@ -145,7 +145,7 @@ await onOpenUrl((urls) => {
})
```
Note that the Plugin will only emit events on macOS, iOS and Android. On Windows and Linux the OS will spawn a new instance of your app with the URL as a CLI argument. If you want your app to behave on Windows & Linux similar to the other platforms you can use the [single-instance](../single-instance/) plugin.
Note that the Plugin will only emit events on macOS, iOS and Android. On Windows and Linux the OS will spawn a new instance of your app with the URL as a CLI argument. If you want your app to behave on Windows & Linux similar to the other platforms you can use the [single-instance](../single-instance/) plugin with the `deep-link` feature enabled.
## Contributing
+1 -1
View File
@@ -14,7 +14,7 @@
"@tauri-apps/plugin-deep-link": "2.0.0-rc.2"
},
"devDependencies": {
"@tauri-apps/cli": "2.0.0-rc.12",
"@tauri-apps/cli": "2.0.0-rc.13",
"typescript": "^5.2.2",
"vite": "^5.0.13"
}
@@ -22,7 +22,9 @@ serde_json = { workspace = true }
tauri = { workspace = true, features = ["wry", "compression"] }
tauri-plugin-deep-link = { path = "../../../" }
tauri-plugin-log = { path = "../../../../log" }
tauri-plugin-single-instance = { path = "../../../../single-instance" }
tauri-plugin-single-instance = { path = "../../../../single-instance", features = [
"deep-link",
] }
log = "0.4"
[features]
@@ -41,15 +41,6 @@
<data android:host="tauri.app" />
</intent-filter>
<intent-filter android:autoVerify="true">
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:host="91f4-177-23-156-161.ngrok-free.app" />
<data android:pathPrefix="/open" />
</intent-filter>
<!-- DEEP LINK PLUGIN. AUTO-GENERATED. DO NOT REMOVE. -->
</activity>
@@ -17,7 +17,7 @@
<key>CFBundleShortVersionString</key>
<string>0.0.0</string>
<key>CFBundleVersion</key>
<string>0.0.0</string>
<string>0.1.0</string>
<key>LSRequiresIPhoneOS</key>
<true/>
<key>UILaunchStoryboardName</key>
@@ -6,7 +6,6 @@
<array>
<string>applinks:fabianlars.de</string>
<string>applinks:tauri.app</string>
<string>applinks:91f4-177-23-156-161.ngrok-free.app</string>
</array>
</dict>
</plist>
@@ -7,15 +7,22 @@ use tauri::Listener;
// Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
#[tauri::command]
fn greet(name: &str) -> String {
format!("Hello, {}! You've been greeted from Rust!", name)
format!("Hello, {name}! You've been greeted from Rust!")
}
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_single_instance::init(|_app, argv, _cwd| {
#[allow(unused_mut)]
let mut builder = tauri::Builder::default();
#[cfg(desktop)]
{
builder = builder.plugin(tauri_plugin_single_instance::init(|_app, argv, _cwd| {
println!("single instance triggered: {argv:?}");
}))
}));
}
builder
.plugin(tauri_plugin_deep_link::init())
.plugin(
tauri_plugin_log::Builder::default()
+25 -39
View File
@@ -70,17 +70,14 @@ fn init_deep_link<R: Runtime>(
#[cfg(desktop)]
{
let args = std::env::args();
let current = if let Some(config) = api.config() {
imp::deep_link_from_args(config, args)
} else {
None
};
Ok(DeepLink {
let deep_link = DeepLink {
app: app.clone(),
current: std::sync::Mutex::new(current.map(|url| vec![url])),
current: Default::default(),
config: api.config().clone(),
})
};
deep_link.handle_cli_arguments(args);
Ok(deep_link)
}
}
@@ -179,31 +176,6 @@ mod imp {
pub(crate) config: Option<crate::config::Config>,
}
pub(crate) fn deep_link_from_args<S: AsRef<str>, I: Iterator<Item = S>>(
config: &crate::config::Config,
mut args: I,
) -> Option<url::Url> {
if cfg!(windows) || cfg!(target_os = "linux") {
args.next(); // bin name
let arg = args.next();
let maybe_deep_link = args.next().is_none(); // single argument
if !maybe_deep_link {
return None;
}
if let Some(url) = arg.and_then(|arg| arg.as_ref().parse::<url::Url>().ok()) {
if config.desktop.contains_scheme(&url.scheme().to_string()) {
return Some(url);
} else if cfg!(debug_assertions) {
log::warn!("argument {url} does not match any configured deep link scheme; skipping it");
}
}
}
None
}
impl<R: Runtime> DeepLink<R> {
/// Checks if the provided list of arguments (which should match [`std::env::args`])
/// contains a deep link argument (for Linux and Windows).
@@ -216,17 +188,31 @@ mod imp {
///
/// This function updates the [`Self::get_current`] value and emits a `deep-link://new-url` event.
#[cfg(desktop)]
pub fn handle_cli_arguments<S: AsRef<str>, I: Iterator<Item = S>>(&self, args: I) {
pub fn handle_cli_arguments<S: AsRef<str>, I: Iterator<Item = S>>(&self, mut args: I) {
use tauri::Emitter;
let Some(config) = &self.config else {
return;
};
if let Some(url) = deep_link_from_args(config, args) {
let mut current = self.current.lock().unwrap();
current.replace(vec![url.clone()]);
let _ = self.app.emit("deep-link://new-url", vec![url]);
if cfg!(windows) || cfg!(target_os = "linux") {
args.next(); // bin name
let arg = args.next();
let maybe_deep_link = args.next().is_none(); // single argument
if !maybe_deep_link {
return;
}
if let Some(url) = arg.and_then(|arg| arg.as_ref().parse::<url::Url>().ok()) {
if config.desktop.contains_scheme(&url.scheme().to_string()) {
let mut current = self.current.lock().unwrap();
current.replace(vec![url.clone()]);
let _ = self.app.emit("deep-link://new-url", vec![url]);
} else if cfg!(debug_assertions) {
log::warn!("argument {url} does not match any configured deep link scheme; skipping it");
}
}
}
}
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## \[2.0.0-rc.6]
- [`2b898f07`](https://github.com/tauri-apps/plugins-workspace/commit/2b898f078688c57309ca17962bf02e665c406514) ([#1769](https://github.com/tauri-apps/plugins-workspace/pull/1769) by [@lucasfernog](https://github.com/tauri-apps/plugins-workspace/../../lucasfernog)) Update Tauri scopes (asset protocol) when using the `open()` command to select directories.
### Dependencies
- Upgraded to `fs@2.0.0-rc.4`
## \[2.0.0-rc.5]
- [`a2fe5551`](https://github.com/tauri-apps/plugins-workspace/commit/a2fe55512f908dd11c814ce021d164f01677572a) ([#1727](https://github.com/tauri-apps/plugins-workspace/pull/1727) by [@amrbashir](https://github.com/tauri-apps/plugins-workspace/../../amrbashir)) Add utility methods on `FilePath` and `SafeFilePath` enums which are:
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-dialog"
version = "2.0.0-rc.5"
version = "2.0.0-rc.6"
description = "Native system dialogs for opening and saving files along with message dialogs on your Tauri application."
edition = { workspace = true }
authors = { workspace = true }
@@ -27,7 +27,7 @@ tauri = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
url = { workspace = true }
tauri-plugin-fs = { path = "../fs", version = "2.0.0-rc.3" }
tauri-plugin-fs = { path = "../fs", version = "2.0.0-rc.4" }
[target.'cfg(target_os = "ios")'.dependencies]
tauri = { workspace = true, features = ["wry"] }
+14 -5
View File
@@ -132,14 +132,17 @@ pub(crate) async fn open<R: Runtime>(
let res = if options.directory {
#[cfg(desktop)]
{
let tauri_scope = window.state::<tauri::scope::Scopes>();
if options.multiple {
let folders = dialog_builder.blocking_pick_folders();
if let Some(folders) = &folders {
for folder in folders {
if let Ok(path) = folder.clone().into_path() {
if let Some(s) = window.try_fs_scope() {
s.allow_directory(path, options.recursive);
s.allow_directory(&path, options.recursive);
}
tauri_scope.allow_directory(&path, options.directory)?;
}
}
}
@@ -151,8 +154,9 @@ pub(crate) async fn open<R: Runtime>(
if let Some(folder) = &folder {
if let Ok(path) = folder.clone().into_path() {
if let Some(s) = window.try_fs_scope() {
s.allow_directory(path, options.recursive);
s.allow_directory(&path, options.recursive);
}
tauri_scope.allow_directory(&path, options.directory)?;
}
}
OpenResponse::Folder(folder.map(|p| p.simplified()))
@@ -161,6 +165,8 @@ pub(crate) async fn open<R: Runtime>(
#[cfg(mobile)]
return Err(crate::Error::FolderPickerNotImplemented);
} else if options.multiple {
let tauri_scope = window.state::<tauri::scope::Scopes>();
let files = dialog_builder.blocking_pick_files();
if let Some(files) = &files {
for file in files {
@@ -169,12 +175,13 @@ pub(crate) async fn open<R: Runtime>(
s.allow_file(&path);
}
window.state::<tauri::scope::Scopes>().allow_file(&path)?;
tauri_scope.allow_file(&path)?;
}
}
}
OpenResponse::Files(files.map(|files| files.into_iter().map(|f| f.simplified()).collect()))
} else {
let tauri_scope = window.state::<tauri::scope::Scopes>();
let file = dialog_builder.blocking_pick_file();
if let Some(file) = &file {
@@ -182,7 +189,7 @@ pub(crate) async fn open<R: Runtime>(
if let Some(s) = window.try_fs_scope() {
s.allow_file(&path);
}
window.state::<tauri::scope::Scopes>().allow_file(&path)?;
tauri_scope.allow_file(&path)?;
}
}
OpenResponse::File(file.map(|f| f.simplified()))
@@ -216,13 +223,15 @@ pub(crate) async fn save<R: Runtime>(
dialog_builder = dialog_builder.add_filter(filter.name, &extensions);
}
let tauri_scope = window.state::<tauri::scope::Scopes>();
let path = dialog_builder.blocking_save_file();
if let Some(p) = &path {
if let Ok(path) = p.clone().into_path() {
if let Some(s) = window.try_fs_scope() {
s.allow_file(&path);
}
window.state::<tauri::scope::Scopes>().allow_file(&path)?;
tauri_scope.allow_file(&path)?;
}
}
+4
View File
@@ -1,5 +1,9 @@
# Changelog
## \[2.0.0-rc.4]
- [`9291e4d2`](https://github.com/tauri-apps/plugins-workspace/commit/9291e4d2caa31c883c71e55f2193bd8754d72f03) ([#1640](https://github.com/tauri-apps/plugins-workspace/pull/1640) by [@SRutile](https://github.com/tauri-apps/plugins-workspace/../../SRutile)) Support any UTF-8 character in the writeFile API.
## \[2.0.0-rc.3]
- [`a2fe5551`](https://github.com/tauri-apps/plugins-workspace/commit/a2fe55512f908dd11c814ce021d164f01677572a) ([#1727](https://github.com/tauri-apps/plugins-workspace/pull/1727) by [@amrbashir](https://github.com/tauri-apps/plugins-workspace/../../amrbashir)) Add utility methods on `FilePath` and `SafeFilePath` enums which are:
+2 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-fs"
version = "2.0.0-rc.3"
version = "2.0.0-rc.4"
description = "Access the file system."
authors = { workspace = true }
license = { workspace = true }
@@ -31,6 +31,7 @@ glob = "0.3"
notify = { version = "6", optional = true, features = ["serde"] }
notify-debouncer-full = { version = "0.3", optional = true }
dunce = { workspace = true }
percent-encoding = "2"
[features]
watch = ["notify", "notify-debouncer-full"]
File diff suppressed because one or more lines are too long
+1 -1
View File
@@ -1015,7 +1015,7 @@ async function writeFile(
await invoke('plugin:fs|write_file', data, {
headers: {
path: path instanceof URL ? path.toString() : path,
path: encodeURIComponent(path instanceof URL ? path.toString() : path),
options: JSON.stringify(options)
}
})
+4 -3
View File
@@ -855,10 +855,11 @@ pub async fn write_file<R: Runtime>(
.get("path")
.ok_or_else(|| anyhow::anyhow!("missing file path").into())
.and_then(|p| {
p.to_str()
.map_err(|e| anyhow::anyhow!("invalid path: {e}").into())
percent_encoding::percent_decode(p.as_ref())
.decode_utf8()
.map_err(|_| anyhow::anyhow!("path is not a valid UTF-8").into())
})
.and_then(|p| SafeFilePath::from_str(p).map_err(CommandError::from))?;
.and_then(|p| SafeFilePath::from_str(&p).map_err(CommandError::from))?;
let options = request
.headers()
.get("options")
+6
View File
@@ -1,5 +1,11 @@
# Changelog
## \[2.0.0-rc.4]
### Dependencies
- Upgraded to `fs@2.0.0-rc.4`
## \[2.0.0-rc.3]
### Dependencies
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-http"
version = "2.0.0-rc.3"
version = "2.0.0-rc.4"
description = "Access an HTTP client written in Rust."
edition = { workspace = true }
authors = { workspace = true }
@@ -27,7 +27,7 @@ serde_json = { workspace = true }
tauri = { workspace = true }
thiserror = { workspace = true }
tokio = { version = "1", features = ["sync", "macros"] }
tauri-plugin-fs = { path = "../fs", version = "2.0.0-rc.3" }
tauri-plugin-fs = { path = "../fs", version = "2.0.0-rc.4" }
urlpattern = "0.3"
regex = "1"
http = "1"
+6
View File
@@ -1,5 +1,11 @@
# Changelog
## \[2.0.0-rc.4]
### Dependencies
- Upgraded to `fs@2.0.0-rc.4`
## \[2.0.0-rc.3]
### Dependencies
+2 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-persisted-scope"
version = "2.0.0-rc.3"
version = "2.0.0-rc.4"
description = "Save filesystem and asset scopes and restore them when the app is reopened."
authors = { workspace = true }
license = { workspace = true }
@@ -20,7 +20,7 @@ log = { workspace = true }
thiserror = { workspace = true }
aho-corasick = "1"
bincode = "1"
tauri-plugin-fs = { path = "../fs", version = "2.0.0-rc.3" }
tauri-plugin-fs = { path = "../fs", version = "2.0.0-rc.4" }
[features]
protocol-asset = ["tauri/protocol-asset"]
+8
View File
@@ -1,5 +1,13 @@
# Changelog
## \[2.0.0-rc.3]
- [`b2269333`](https://github.com/tauri-apps/plugins-workspace/commit/b2269333e39afe32629a11763a8e25d0b12b132b) ([#1766](https://github.com/tauri-apps/plugins-workspace/pull/1766) by [@Legend-Master](https://github.com/tauri-apps/plugins-workspace/../../Legend-Master)) Put deep link integration behined a feature
### Dependencies
- Upgraded to `deep-link@2.0.0-rc.5`
## \[2.0.0-rc.2]
- [`64a6240f`](https://github.com/tauri-apps/plugins-workspace/commit/64a6240f79fcd52267c8d721b727ae695055d7ff) ([#1759](https://github.com/tauri-apps/plugins-workspace/pull/1759) by [@lucasfernog](https://github.com/tauri-apps/plugins-workspace/../../lucasfernog)) Integrate with the deep link plugin out of the box.
+3 -2
View File
@@ -1,6 +1,6 @@
[package]
name = "tauri-plugin-single-instance"
version = "2.0.0-rc.2"
version = "2.0.0-rc.3"
description = "Ensure a single instance of your tauri app is running."
authors = { workspace = true }
license = { workspace = true }
@@ -19,7 +19,7 @@ serde_json = { workspace = true }
tauri = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
tauri-plugin-deep-link = { path = "../deep-link", version = "2.0.0-rc.4" }
tauri-plugin-deep-link = { path = "../deep-link", version = "2.0.0-rc.5", optional = true }
semver = { version = "1", optional = true }
[target."cfg(target_os = \"windows\")".dependencies.windows-sys]
@@ -39,3 +39,4 @@ zbus = "4"
[features]
semver = ["dep:semver"]
deep-link = ["dep:tauri-plugin-deep-link"]
+4 -2
View File
@@ -34,8 +34,8 @@ use tauri::{Manager};
#[derive(Clone, serde::Serialize)]
struct Payload {
args: Vec<String>,
cwd: String,
args: Vec<String>,
cwd: String,
}
fn main() {
@@ -49,6 +49,8 @@ fn main() {
}
```
Note that currently, plugins run in the order they were added in to the builder, so make sure that this plugin is registered first.
## Contributing
PRs accepted. Please make sure to read the Contributing Guide before making a pull request.
@@ -9,6 +9,6 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@tauri-apps/cli": "2.0.0-rc.12"
"@tauri-apps/cli": "2.0.0-rc.13"
}
}
+2 -2
View File
@@ -13,7 +13,6 @@
#![cfg(not(any(target_os = "android", target_os = "ios")))]
use tauri::{plugin::TauriPlugin, AppHandle, Manager, Runtime};
use tauri_plugin_deep_link::DeepLink;
#[cfg(target_os = "windows")]
#[path = "platform_impl/windows.rs"]
@@ -35,7 +34,8 @@ pub fn init<R: Runtime, F: FnMut(&AppHandle<R>, Vec<String>, String) + Send + Sy
mut f: F,
) -> TauriPlugin<R> {
platform_impl::init(Box::new(move |app, args, cwd| {
if let Some(deep_link) = app.try_state::<DeepLink<R>>() {
#[cfg(feature = "deep-link")]
if let Some(deep_link) = app.try_state::<tauri_plugin_deep_link::DeepLink<R>>() {
deep_link.handle_cli_arguments(args.iter());
}
f(app, args, cwd)
@@ -8,7 +8,7 @@
"tauri": "tauri"
},
"devDependencies": {
"@tauri-apps/cli": "2.0.0-rc.12",
"@tauri-apps/cli": "2.0.0-rc.13",
"vite": "^5.0.12",
"typescript": "^5.3.3"
}
@@ -9,7 +9,7 @@
"preview": "vite preview"
},
"devDependencies": {
"@tauri-apps/cli": "2.0.0-rc.12",
"@tauri-apps/cli": "2.0.0-rc.13",
"typescript": "^5.3.3",
"vite": "^5.0.13"
},
+158 -160
View File
@@ -17,13 +17,13 @@ importers:
version: 9.10.0
'@rollup/plugin-node-resolve':
specifier: 15.2.3
version: 15.2.3(rollup@4.21.2)
version: 15.2.3(rollup@4.21.3)
'@rollup/plugin-terser':
specifier: 0.4.4
version: 0.4.4(rollup@4.21.2)
version: 0.4.4(rollup@4.21.3)
'@rollup/plugin-typescript':
specifier: 11.1.6
version: 11.1.6(rollup@4.21.2)(tslib@2.7.0)(typescript@5.6.2)
version: 11.1.6(rollup@4.21.3)(tslib@2.7.0)(typescript@5.6.2)
'@types/eslint__js':
specifier: 8.42.3
version: 8.42.3
@@ -43,8 +43,8 @@ importers:
specifier: 3.3.3
version: 3.3.3
rollup:
specifier: 4.21.2
version: 4.21.2
specifier: 4.21.3
version: 4.21.3
tslib:
specifier: 2.7.0
version: 2.7.0
@@ -119,8 +119,8 @@ importers:
specifier: ^3.0.1
version: 3.1.2(svelte@4.2.19)(vite@5.4.3(terser@5.31.6))
'@tauri-apps/cli':
specifier: 2.0.0-rc.12
version: 2.0.0-rc.12
specifier: 2.0.0-rc.13
version: 2.0.0-rc.13
'@unocss/extractor-svelte':
specifier: ^0.62.0
version: 0.62.3
@@ -129,7 +129,7 @@ importers:
version: 4.2.19
unocss:
specifier: ^0.62.0
version: 0.62.3(postcss@8.4.45)(rollup@4.21.2)(vite@5.4.3(terser@5.31.6))
version: 0.62.3(postcss@8.4.45)(rollup@4.21.3)(vite@5.4.3(terser@5.31.6))
vite:
specifier: ^5.0.13
version: 5.4.3(terser@5.31.6)
@@ -180,8 +180,8 @@ importers:
version: link:../..
devDependencies:
'@tauri-apps/cli':
specifier: 2.0.0-rc.12
version: 2.0.0-rc.12
specifier: 2.0.0-rc.13
version: 2.0.0-rc.13
typescript:
specifier: ^5.2.2
version: 5.6.2
@@ -270,8 +270,8 @@ importers:
plugins/single-instance/examples/vanilla:
devDependencies:
'@tauri-apps/cli':
specifier: 2.0.0-rc.12
version: 2.0.0-rc.12
specifier: 2.0.0-rc.13
version: 2.0.0-rc.13
plugins/sql:
dependencies:
@@ -288,8 +288,8 @@ importers:
plugins/store/examples/AppSettingsManager:
devDependencies:
'@tauri-apps/cli':
specifier: 2.0.0-rc.12
version: 2.0.0-rc.12
specifier: 2.0.0-rc.13
version: 2.0.0-rc.13
typescript:
specifier: ^5.3.3
version: 5.6.2
@@ -328,8 +328,8 @@ importers:
version: link:../..
devDependencies:
'@tauri-apps/cli':
specifier: 2.0.0-rc.12
version: 2.0.0-rc.12
specifier: 2.0.0-rc.13
version: 2.0.0-rc.13
typescript:
specifier: ^5.3.3
version: 5.6.2
@@ -956,83 +956,83 @@ packages:
rollup:
optional: true
'@rollup/rollup-android-arm-eabi@4.21.2':
resolution: {integrity: sha512-fSuPrt0ZO8uXeS+xP3b+yYTCBUd05MoSp2N/MFOgjhhUhMmchXlpTQrTpI8T+YAwAQuK7MafsCOxW7VrPMrJcg==}
'@rollup/rollup-android-arm-eabi@4.21.3':
resolution: {integrity: sha512-MmKSfaB9GX+zXl6E8z4koOr/xU63AMVleLEa64v7R0QF/ZloMs5vcD1sHgM64GXXS1csaJutG+ddtzcueI/BLg==}
cpu: [arm]
os: [android]
'@rollup/rollup-android-arm64@4.21.2':
resolution: {integrity: sha512-xGU5ZQmPlsjQS6tzTTGwMsnKUtu0WVbl0hYpTPauvbRAnmIvpInhJtgjj3mcuJpEiuUw4v1s4BimkdfDWlh7gA==}
'@rollup/rollup-android-arm64@4.21.3':
resolution: {integrity: sha512-zrt8ecH07PE3sB4jPOggweBjJMzI1JG5xI2DIsUbkA+7K+Gkjys6eV7i9pOenNSDJH3eOr/jLb/PzqtmdwDq5g==}
cpu: [arm64]
os: [android]
'@rollup/rollup-darwin-arm64@4.21.2':
resolution: {integrity: sha512-99AhQ3/ZMxU7jw34Sq8brzXqWH/bMnf7ZVhvLk9QU2cOepbQSVTns6qoErJmSiAvU3InRqC2RRZ5ovh1KN0d0Q==}
'@rollup/rollup-darwin-arm64@4.21.3':
resolution: {integrity: sha512-P0UxIOrKNBFTQaXTxOH4RxuEBVCgEA5UTNV6Yz7z9QHnUJ7eLX9reOd/NYMO3+XZO2cco19mXTxDMXxit4R/eQ==}
cpu: [arm64]
os: [darwin]
'@rollup/rollup-darwin-x64@4.21.2':
resolution: {integrity: sha512-ZbRaUvw2iN/y37x6dY50D8m2BnDbBjlnMPotDi/qITMJ4sIxNY33HArjikDyakhSv0+ybdUxhWxE6kTI4oX26w==}
'@rollup/rollup-darwin-x64@4.21.3':
resolution: {integrity: sha512-L1M0vKGO5ASKntqtsFEjTq/fD91vAqnzeaF6sfNAy55aD+Hi2pBI5DKwCO+UNDQHWsDViJLqshxOahXyLSh3EA==}
cpu: [x64]
os: [darwin]
'@rollup/rollup-linux-arm-gnueabihf@4.21.2':
resolution: {integrity: sha512-ztRJJMiE8nnU1YFcdbd9BcH6bGWG1z+jP+IPW2oDUAPxPjo9dverIOyXz76m6IPA6udEL12reYeLojzW2cYL7w==}
'@rollup/rollup-linux-arm-gnueabihf@4.21.3':
resolution: {integrity: sha512-btVgIsCjuYFKUjopPoWiDqmoUXQDiW2A4C3Mtmp5vACm7/GnyuprqIDPNczeyR5W8rTXEbkmrJux7cJmD99D2g==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm-musleabihf@4.21.2':
resolution: {integrity: sha512-flOcGHDZajGKYpLV0JNc0VFH361M7rnV1ee+NTeC/BQQ1/0pllYcFmxpagltANYt8FYf9+kL6RSk80Ziwyhr7w==}
'@rollup/rollup-linux-arm-musleabihf@4.21.3':
resolution: {integrity: sha512-zmjbSphplZlau6ZTkxd3+NMtE4UKVy7U4aVFMmHcgO5CUbw17ZP6QCgyxhzGaU/wFFdTfiojjbLG3/0p9HhAqA==}
cpu: [arm]
os: [linux]
'@rollup/rollup-linux-arm64-gnu@4.21.2':
resolution: {integrity: sha512-69CF19Kp3TdMopyteO/LJbWufOzqqXzkrv4L2sP8kfMaAQ6iwky7NoXTp7bD6/irKgknDKM0P9E/1l5XxVQAhw==}
'@rollup/rollup-linux-arm64-gnu@4.21.3':
resolution: {integrity: sha512-nSZfcZtAnQPRZmUkUQwZq2OjQciR6tEoJaZVFvLHsj0MF6QhNMg0fQ6mUOsiCUpTqxTx0/O6gX0V/nYc7LrgPw==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-arm64-musl@4.21.2':
resolution: {integrity: sha512-48pD/fJkTiHAZTnZwR0VzHrao70/4MlzJrq0ZsILjLW/Ab/1XlVUStYyGt7tdyIiVSlGZbnliqmult/QGA2O2w==}
'@rollup/rollup-linux-arm64-musl@4.21.3':
resolution: {integrity: sha512-MnvSPGO8KJXIMGlQDYfvYS3IosFN2rKsvxRpPO2l2cum+Z3exiExLwVU+GExL96pn8IP+GdH8Tz70EpBhO0sIQ==}
cpu: [arm64]
os: [linux]
'@rollup/rollup-linux-powerpc64le-gnu@4.21.2':
resolution: {integrity: sha512-cZdyuInj0ofc7mAQpKcPR2a2iu4YM4FQfuUzCVA2u4HI95lCwzjoPtdWjdpDKyHxI0UO82bLDoOaLfpZ/wviyQ==}
'@rollup/rollup-linux-powerpc64le-gnu@4.21.3':
resolution: {integrity: sha512-+W+p/9QNDr2vE2AXU0qIy0qQE75E8RTwTwgqS2G5CRQ11vzq0tbnfBd6brWhS9bCRjAjepJe2fvvkvS3dno+iw==}
cpu: [ppc64]
os: [linux]
'@rollup/rollup-linux-riscv64-gnu@4.21.2':
resolution: {integrity: sha512-RL56JMT6NwQ0lXIQmMIWr1SW28z4E4pOhRRNqwWZeXpRlykRIlEpSWdsgNWJbYBEWD84eocjSGDu/XxbYeCmwg==}
'@rollup/rollup-linux-riscv64-gnu@4.21.3':
resolution: {integrity: sha512-yXH6K6KfqGXaxHrtr+Uoy+JpNlUlI46BKVyonGiaD74ravdnF9BUNC+vV+SIuB96hUMGShhKV693rF9QDfO6nQ==}
cpu: [riscv64]
os: [linux]
'@rollup/rollup-linux-s390x-gnu@4.21.2':
resolution: {integrity: sha512-PMxkrWS9z38bCr3rWvDFVGD6sFeZJw4iQlhrup7ReGmfn7Oukrr/zweLhYX6v2/8J6Cep9IEA/SmjXjCmSbrMQ==}
'@rollup/rollup-linux-s390x-gnu@4.21.3':
resolution: {integrity: sha512-R8cwY9wcnApN/KDYWTH4gV/ypvy9yZUHlbJvfaiXSB48JO3KpwSpjOGqO4jnGkLDSk1hgjYkTbTt6Q7uvPf8eg==}
cpu: [s390x]
os: [linux]
'@rollup/rollup-linux-x64-gnu@4.21.2':
resolution: {integrity: sha512-B90tYAUoLhU22olrafY3JQCFLnT3NglazdwkHyxNDYF/zAxJt5fJUB/yBoWFoIQ7SQj+KLe3iL4BhOMa9fzgpw==}
'@rollup/rollup-linux-x64-gnu@4.21.3':
resolution: {integrity: sha512-kZPbX/NOPh0vhS5sI+dR8L1bU2cSO9FgxwM8r7wHzGydzfSjLRCFAT87GR5U9scj2rhzN3JPYVC7NoBbl4FZ0g==}
cpu: [x64]
os: [linux]
'@rollup/rollup-linux-x64-musl@4.21.2':
resolution: {integrity: sha512-7twFizNXudESmC9oneLGIUmoHiiLppz/Xs5uJQ4ShvE6234K0VB1/aJYU3f/4g7PhssLGKBVCC37uRkkOi8wjg==}
'@rollup/rollup-linux-x64-musl@4.21.3':
resolution: {integrity: sha512-S0Yq+xA1VEH66uiMNhijsWAafffydd2X5b77eLHfRmfLsRSpbiAWiRHV6DEpz6aOToPsgid7TI9rGd6zB1rhbg==}
cpu: [x64]
os: [linux]
'@rollup/rollup-win32-arm64-msvc@4.21.2':
resolution: {integrity: sha512-9rRero0E7qTeYf6+rFh3AErTNU1VCQg2mn7CQcI44vNUWM9Ze7MSRS/9RFuSsox+vstRt97+x3sOhEey024FRQ==}
'@rollup/rollup-win32-arm64-msvc@4.21.3':
resolution: {integrity: sha512-9isNzeL34yquCPyerog+IMCNxKR8XYmGd0tHSV+OVx0TmE0aJOo9uw4fZfUuk2qxobP5sug6vNdZR6u7Mw7Q+Q==}
cpu: [arm64]
os: [win32]
'@rollup/rollup-win32-ia32-msvc@4.21.2':
resolution: {integrity: sha512-5rA4vjlqgrpbFVVHX3qkrCo/fZTj1q0Xxpg+Z7yIo3J2AilW7t2+n6Q8Jrx+4MrYpAnjttTYF8rr7bP46BPzRw==}
'@rollup/rollup-win32-ia32-msvc@4.21.3':
resolution: {integrity: sha512-nMIdKnfZfzn1Vsk+RuOvl43ONTZXoAPUUxgcU0tXooqg4YrAqzfKzVenqqk2g5efWh46/D28cKFrOzDSW28gTA==}
cpu: [ia32]
os: [win32]
'@rollup/rollup-win32-x64-msvc@4.21.2':
resolution: {integrity: sha512-6UUxd0+SKomjdzuAcp+HAmxw1FlGBnl1v2yEPSabtx4lBfdXHDVsW7+lQkgz9cNFJGY3AWR7+V8P5BqkD9L9nA==}
'@rollup/rollup-win32-x64-msvc@4.21.3':
resolution: {integrity: sha512-fOvu7PCQjAj4eWDEuD8Xz5gpzFqXzGlxHZozHP4b9Jxv9APtdxL6STqztDzMLuRXEc4UpXGGhx029Xgm91QBeA==}
cpu: [x64]
os: [win32]
@@ -1054,68 +1054,68 @@ packages:
'@tauri-apps/api@2.0.0-rc.4':
resolution: {integrity: sha512-UNiIhhKG08j4ooss2oEEVexffmWkgkYlC2M3GcX3VPtNsqFgVNL8Mcw/4Y7rO9M9S+ffAMnLOF5ypzyuyb8tyg==}
'@tauri-apps/cli-darwin-arm64@2.0.0-rc.12':
resolution: {integrity: sha512-zYxcAH4reyqKkqCAybggszFWkBvC+ZyZPTWFKXXVQ20MZc1q+e/0UJYC8UKsaumrbi1uptgamvnM8yql56x5QQ==}
'@tauri-apps/cli-darwin-arm64@2.0.0-rc.13':
resolution: {integrity: sha512-j2BTeqq0b5073SUr5jLUGWwmQ0Q7/T1uXQZd0hLynYgbL6ZR83afex2ct7i50Qui03er49188EoBWy3vDE/9Kg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [darwin]
'@tauri-apps/cli-darwin-x64@2.0.0-rc.12':
resolution: {integrity: sha512-eme7pQzEzeGCk13V3uxUNRnkVZJukqwHotqEb2RdovXqJWSyESrighBy4PBG5Xn6wNYTOyoquY9+In4TOfJAzw==}
'@tauri-apps/cli-darwin-x64@2.0.0-rc.13':
resolution: {integrity: sha512-xj9O2G2aC4XdQtNefJRlk3M+mLchHphefMpkmhxAeeHIFspt24Cr15WO4FnUF/BcSkpIt1Pxdy3XTISECzx3eA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [darwin]
'@tauri-apps/cli-linux-arm-gnueabihf@2.0.0-rc.12':
resolution: {integrity: sha512-113T2NsLeoy6GXsqc0yjMoozt+KXzkAtUB7DL9Kcvx9IMfA87cUVaTNjnb2GFsoQqpCWGfHei3nr9n1PGEbwMg==}
'@tauri-apps/cli-linux-arm-gnueabihf@2.0.0-rc.13':
resolution: {integrity: sha512-n/moJC9pP1qDrqxgi825jjlubCQVRQ3D9VVriFaFOJ0mO4uPy+RTf27HLHWxe0MCk92Kxox2v3wzuDF5ldfy3A==}
engines: {node: '>= 10'}
cpu: [arm]
os: [linux]
'@tauri-apps/cli-linux-arm64-gnu@2.0.0-rc.12':
resolution: {integrity: sha512-9TrUyNg0vmsYF7IbG+/sybEeiz6ikA1Kjd6JjC4iwfXjRff8fuTR7CIOb06imabxbLzGP79qSAnGAeTXz8E7qA==}
'@tauri-apps/cli-linux-arm64-gnu@2.0.0-rc.13':
resolution: {integrity: sha512-dFIqAADRGjEiS4aTe02ZmVLXmrV/9b6K2vF3I+N/zaBLHQvfRiGfyooXr4EsmyHmen2hHWErUcHe27g17eB4pA==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
'@tauri-apps/cli-linux-arm64-musl@2.0.0-rc.12':
resolution: {integrity: sha512-YvE40+wdkNcXhwUAJNPyhNzJ8YS3saJoxGj7mtNQeNeNrKhxyj6hA5T6gw9KtMkwBOp+HGtqn+eDXiu0X7BBHQ==}
'@tauri-apps/cli-linux-arm64-musl@2.0.0-rc.13':
resolution: {integrity: sha512-wc3lJNHfFB7ipux582i490h3uniGq2VakRZGvAIJXsUEWR4t4wcd2t77EXW1eaQMLA5UyiZJ7V3o7NiUJ5q0Hw==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [linux]
'@tauri-apps/cli-linux-x64-gnu@2.0.0-rc.12':
resolution: {integrity: sha512-q+MJp/lSA5WINs78dCFMlU0/jQeUkGr9GHbKeppcVcpkcY/1vog70b4KhneyvbuklKBn/V8kd0FtIKCn8VP+KQ==}
'@tauri-apps/cli-linux-x64-gnu@2.0.0-rc.13':
resolution: {integrity: sha512-gC2Bmzqnb0R2lHgZ2tqwXJwaohz/kIBhmg1i+4UtNqJHNk96FSdWOPBX2fjvJsclks6WbI4u6y53jFFe9gzu4g==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
'@tauri-apps/cli-linux-x64-musl@2.0.0-rc.12':
resolution: {integrity: sha512-5zodtleH2GFsB9lszDYrzPTLcr+MMqtpQpJWHATC1K03bLEA8ia8zSdBqRwm7u8NraMLl8TE7hc7hwq0uxGEcg==}
'@tauri-apps/cli-linux-x64-musl@2.0.0-rc.13':
resolution: {integrity: sha512-lh8qZ4UCt3314LPQgO6GxNtlsZs6M9yvUz6TmHo0SPfxQp4iiRVF/g032Bc1QUZEj7LUtvo9psyWRbzRA660/Q==}
engines: {node: '>= 10'}
cpu: [x64]
os: [linux]
'@tauri-apps/cli-win32-arm64-msvc@2.0.0-rc.12':
resolution: {integrity: sha512-nSu6VHpuq61DYM2YowLDLDwkK8im7dzYxIHXs+h8/rhkmadTujGhbyUhHPI1STA6hNyITUtSFpo6P2mEbfpAIg==}
'@tauri-apps/cli-win32-arm64-msvc@2.0.0-rc.13':
resolution: {integrity: sha512-09kTW5EPB1Q/Vnnnqu5v32UcPOjaA/+hey7fG1zIvNjjI4C0SZewvlPpffVpn9CQf9HTeBjPFFcadUu5pfFKAg==}
engines: {node: '>= 10'}
cpu: [arm64]
os: [win32]
'@tauri-apps/cli-win32-ia32-msvc@2.0.0-rc.12':
resolution: {integrity: sha512-d/4y57OisMuB+MUkTpZsryQRi9ZQXQ8SsMhrvEgu8sbX8/WRm0iZyGuIZ01RlZZHLIasXbKTkPX+hPQC5Juk8Q==}
'@tauri-apps/cli-win32-ia32-msvc@2.0.0-rc.13':
resolution: {integrity: sha512-LCSeYLqtcNGIax1GD+ss1JbMDN02Xv2Yg6J54exE7xYG8POD5kS6ZRYxpPeKOSr/tAA6OHBb0EOiZyq4T+mn1g==}
engines: {node: '>= 10'}
cpu: [ia32]
os: [win32]
'@tauri-apps/cli-win32-x64-msvc@2.0.0-rc.12':
resolution: {integrity: sha512-RsPUvsbFza03ysh0nU2nM3P2CVWz9cu7CRHwOEdtXjWWNREHUYCaVpqQKz0tn2sG19yXiNIB40iqrIBUmb/IoA==}
'@tauri-apps/cli-win32-x64-msvc@2.0.0-rc.13':
resolution: {integrity: sha512-lx0QS0pb0jP94k0nzAjd4IdKbchamC0jpfwQ5V0wW7DcW9e2EVGM0HIpQSh2hJgY5M2DBx+ZDnehvzeBxxz3BA==}
engines: {node: '>= 10'}
cpu: [x64]
os: [win32]
'@tauri-apps/cli@2.0.0-rc.12':
resolution: {integrity: sha512-rNcVSyGHGz8vNk542isYKPk5fEMAsgmzER+1s9YYbGZCH7m4e0rH89p/P9W40I/Z4AZk4ZqjpEeajeS5izDI4g==}
'@tauri-apps/cli@2.0.0-rc.13':
resolution: {integrity: sha512-Pqn7uqMu3C2X1vnP//dU5TDaE6/PIFH5cbl2FjZiVJErKsjhlIbZMFzrWJTSSBTAK42ZxiEAh+dfw2erTBTjrQ==}
engines: {node: '>= 10'}
hasBin: true
@@ -2174,8 +2174,8 @@ packages:
resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==}
engines: {iojs: '>=1.0.0', node: '>=0.10.0'}
rollup@4.21.2:
resolution: {integrity: sha512-e3TapAgYf9xjdLvKQCkQTnbTKd4a6jwlpQSJJFokHGaX2IVjoEqkIIhiQfqsi0cdwlOD+tQGuOd5AJkc5RngBw==}
rollup@4.21.3:
resolution: {integrity: sha512-7sqRtBNnEbcBtMeRVc6VRsJMmpI+JU1z9VTvW8D4gXIYQFz0aLcsE6rRkyghZkLfEgUZgVvOG7A5CVz/VW5GIA==}
engines: {node: '>=18.0.0', npm: '>=8.0.0'}
hasBin: true
@@ -2743,9 +2743,9 @@ snapshots:
- encoding
- mocha
'@covector/assemble@0.12.0(mocha@10.7.3)':
'@covector/assemble@0.12.0':
dependencies:
'@covector/command': 0.8.0(mocha@10.7.3)
'@covector/command': 0.8.0
'@covector/files': 0.8.0
effection: 2.0.8(mocha@10.7.3)
js-yaml: 4.1.0
@@ -2756,10 +2756,9 @@ snapshots:
unified: 9.2.2
transitivePeerDependencies:
- encoding
- mocha
- supports-color
'@covector/changelog@0.12.0(mocha@10.7.3)':
'@covector/changelog@0.12.0':
dependencies:
'@covector/files': 0.8.0
effection: 2.0.8(mocha@10.7.3)
@@ -2769,16 +2768,14 @@ snapshots:
unified: 9.2.2
transitivePeerDependencies:
- encoding
- mocha
- supports-color
'@covector/command@0.8.0(mocha@10.7.3)':
'@covector/command@0.8.0':
dependencies:
'@effection/process': 2.1.4(mocha@10.7.3)
'@effection/process': 2.1.4
effection: 2.0.8(mocha@10.7.3)
transitivePeerDependencies:
- encoding
- mocha
'@covector/files@0.8.0':
dependencies:
@@ -2825,8 +2822,10 @@ snapshots:
dependencies:
effection: 2.0.8(mocha@10.7.3)
mocha: 10.7.3
transitivePeerDependencies:
- encoding
'@effection/process@2.1.4(mocha@10.7.3)':
'@effection/process@2.1.4':
dependencies:
cross-spawn: 7.0.3
ctrlc-windows: 2.1.0
@@ -2834,7 +2833,6 @@ snapshots:
shellwords: 0.1.1
transitivePeerDependencies:
- encoding
- mocha
'@effection/stream@2.0.6':
dependencies:
@@ -3085,88 +3083,88 @@ snapshots:
'@polka/url@1.0.0-next.25': {}
'@rollup/plugin-node-resolve@15.2.3(rollup@4.21.2)':
'@rollup/plugin-node-resolve@15.2.3(rollup@4.21.3)':
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.21.2)
'@rollup/pluginutils': 5.1.0(rollup@4.21.3)
'@types/resolve': 1.20.2
deepmerge: 4.3.1
is-builtin-module: 3.2.1
is-module: 1.0.0
resolve: 1.22.8
optionalDependencies:
rollup: 4.21.2
rollup: 4.21.3
'@rollup/plugin-terser@0.4.4(rollup@4.21.2)':
'@rollup/plugin-terser@0.4.4(rollup@4.21.3)':
dependencies:
serialize-javascript: 6.0.2
smob: 1.5.0
terser: 5.31.6
optionalDependencies:
rollup: 4.21.2
rollup: 4.21.3
'@rollup/plugin-typescript@11.1.6(rollup@4.21.2)(tslib@2.7.0)(typescript@5.6.2)':
'@rollup/plugin-typescript@11.1.6(rollup@4.21.3)(tslib@2.7.0)(typescript@5.6.2)':
dependencies:
'@rollup/pluginutils': 5.1.0(rollup@4.21.2)
'@rollup/pluginutils': 5.1.0(rollup@4.21.3)
resolve: 1.22.8
typescript: 5.6.2
optionalDependencies:
rollup: 4.21.2
rollup: 4.21.3
tslib: 2.7.0
'@rollup/pluginutils@5.1.0(rollup@4.21.2)':
'@rollup/pluginutils@5.1.0(rollup@4.21.3)':
dependencies:
'@types/estree': 1.0.5
estree-walker: 2.0.2
picomatch: 2.3.1
optionalDependencies:
rollup: 4.21.2
rollup: 4.21.3
'@rollup/rollup-android-arm-eabi@4.21.2':
'@rollup/rollup-android-arm-eabi@4.21.3':
optional: true
'@rollup/rollup-android-arm64@4.21.2':
'@rollup/rollup-android-arm64@4.21.3':
optional: true
'@rollup/rollup-darwin-arm64@4.21.2':
'@rollup/rollup-darwin-arm64@4.21.3':
optional: true
'@rollup/rollup-darwin-x64@4.21.2':
'@rollup/rollup-darwin-x64@4.21.3':
optional: true
'@rollup/rollup-linux-arm-gnueabihf@4.21.2':
'@rollup/rollup-linux-arm-gnueabihf@4.21.3':
optional: true
'@rollup/rollup-linux-arm-musleabihf@4.21.2':
'@rollup/rollup-linux-arm-musleabihf@4.21.3':
optional: true
'@rollup/rollup-linux-arm64-gnu@4.21.2':
'@rollup/rollup-linux-arm64-gnu@4.21.3':
optional: true
'@rollup/rollup-linux-arm64-musl@4.21.2':
'@rollup/rollup-linux-arm64-musl@4.21.3':
optional: true
'@rollup/rollup-linux-powerpc64le-gnu@4.21.2':
'@rollup/rollup-linux-powerpc64le-gnu@4.21.3':
optional: true
'@rollup/rollup-linux-riscv64-gnu@4.21.2':
'@rollup/rollup-linux-riscv64-gnu@4.21.3':
optional: true
'@rollup/rollup-linux-s390x-gnu@4.21.2':
'@rollup/rollup-linux-s390x-gnu@4.21.3':
optional: true
'@rollup/rollup-linux-x64-gnu@4.21.2':
'@rollup/rollup-linux-x64-gnu@4.21.3':
optional: true
'@rollup/rollup-linux-x64-musl@4.21.2':
'@rollup/rollup-linux-x64-musl@4.21.3':
optional: true
'@rollup/rollup-win32-arm64-msvc@4.21.2':
'@rollup/rollup-win32-arm64-msvc@4.21.3':
optional: true
'@rollup/rollup-win32-ia32-msvc@4.21.2':
'@rollup/rollup-win32-ia32-msvc@4.21.3':
optional: true
'@rollup/rollup-win32-x64-msvc@4.21.2':
'@rollup/rollup-win32-x64-msvc@4.21.3':
optional: true
'@sveltejs/vite-plugin-svelte-inspector@2.1.0(@sveltejs/vite-plugin-svelte@3.1.2(svelte@4.2.19)(vite@5.4.3(terser@5.31.6)))(svelte@4.2.19)(vite@5.4.3(terser@5.31.6))':
@@ -3194,48 +3192,48 @@ snapshots:
'@tauri-apps/api@2.0.0-rc.4': {}
'@tauri-apps/cli-darwin-arm64@2.0.0-rc.12':
'@tauri-apps/cli-darwin-arm64@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-darwin-x64@2.0.0-rc.12':
'@tauri-apps/cli-darwin-x64@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-linux-arm-gnueabihf@2.0.0-rc.12':
'@tauri-apps/cli-linux-arm-gnueabihf@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-linux-arm64-gnu@2.0.0-rc.12':
'@tauri-apps/cli-linux-arm64-gnu@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-linux-arm64-musl@2.0.0-rc.12':
'@tauri-apps/cli-linux-arm64-musl@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-linux-x64-gnu@2.0.0-rc.12':
'@tauri-apps/cli-linux-x64-gnu@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-linux-x64-musl@2.0.0-rc.12':
'@tauri-apps/cli-linux-x64-musl@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-win32-arm64-msvc@2.0.0-rc.12':
'@tauri-apps/cli-win32-arm64-msvc@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-win32-ia32-msvc@2.0.0-rc.12':
'@tauri-apps/cli-win32-ia32-msvc@2.0.0-rc.13':
optional: true
'@tauri-apps/cli-win32-x64-msvc@2.0.0-rc.12':
'@tauri-apps/cli-win32-x64-msvc@2.0.0-rc.13':
optional: true
'@tauri-apps/cli@2.0.0-rc.12':
'@tauri-apps/cli@2.0.0-rc.13':
optionalDependencies:
'@tauri-apps/cli-darwin-arm64': 2.0.0-rc.12
'@tauri-apps/cli-darwin-x64': 2.0.0-rc.12
'@tauri-apps/cli-linux-arm-gnueabihf': 2.0.0-rc.12
'@tauri-apps/cli-linux-arm64-gnu': 2.0.0-rc.12
'@tauri-apps/cli-linux-arm64-musl': 2.0.0-rc.12
'@tauri-apps/cli-linux-x64-gnu': 2.0.0-rc.12
'@tauri-apps/cli-linux-x64-musl': 2.0.0-rc.12
'@tauri-apps/cli-win32-arm64-msvc': 2.0.0-rc.12
'@tauri-apps/cli-win32-ia32-msvc': 2.0.0-rc.12
'@tauri-apps/cli-win32-x64-msvc': 2.0.0-rc.12
'@tauri-apps/cli-darwin-arm64': 2.0.0-rc.13
'@tauri-apps/cli-darwin-x64': 2.0.0-rc.13
'@tauri-apps/cli-linux-arm-gnueabihf': 2.0.0-rc.13
'@tauri-apps/cli-linux-arm64-gnu': 2.0.0-rc.13
'@tauri-apps/cli-linux-arm64-musl': 2.0.0-rc.13
'@tauri-apps/cli-linux-x64-gnu': 2.0.0-rc.13
'@tauri-apps/cli-linux-x64-musl': 2.0.0-rc.13
'@tauri-apps/cli-win32-arm64-msvc': 2.0.0-rc.13
'@tauri-apps/cli-win32-ia32-msvc': 2.0.0-rc.13
'@tauri-apps/cli-win32-x64-msvc': 2.0.0-rc.13
'@types/eslint@9.6.1':
dependencies:
@@ -3339,21 +3337,21 @@ snapshots:
'@typescript-eslint/types': 8.5.0
eslint-visitor-keys: 3.4.3
'@unocss/astro@0.62.3(rollup@4.21.2)(vite@5.4.3(terser@5.31.6))':
'@unocss/astro@0.62.3(rollup@4.21.3)(vite@5.4.3(terser@5.31.6))':
dependencies:
'@unocss/core': 0.62.3
'@unocss/reset': 0.62.3
'@unocss/vite': 0.62.3(rollup@4.21.2)(vite@5.4.3(terser@5.31.6))
'@unocss/vite': 0.62.3(rollup@4.21.3)(vite@5.4.3(terser@5.31.6))
optionalDependencies:
vite: 5.4.3(terser@5.31.6)
transitivePeerDependencies:
- rollup
- supports-color
'@unocss/cli@0.62.3(rollup@4.21.2)':
'@unocss/cli@0.62.3(rollup@4.21.3)':
dependencies:
'@ampproject/remapping': 2.3.0
'@rollup/pluginutils': 5.1.0(rollup@4.21.2)
'@rollup/pluginutils': 5.1.0(rollup@4.21.3)
'@unocss/config': 0.62.3
'@unocss/core': 0.62.3
'@unocss/preset-uno': 0.62.3
@@ -3484,10 +3482,10 @@ snapshots:
dependencies:
'@unocss/core': 0.62.3
'@unocss/vite@0.62.3(rollup@4.21.2)(vite@5.4.3(terser@5.31.6))':
'@unocss/vite@0.62.3(rollup@4.21.3)(vite@5.4.3(terser@5.31.6))':
dependencies:
'@ampproject/remapping': 2.3.0
'@rollup/pluginutils': 5.1.0(rollup@4.21.2)
'@rollup/pluginutils': 5.1.0(rollup@4.21.3)
'@unocss/config': 0.62.3
'@unocss/core': 0.62.3
'@unocss/inspector': 0.62.3
@@ -3680,9 +3678,9 @@ snapshots:
dependencies:
'@clack/prompts': 0.7.0
'@covector/apply': 0.10.0(mocha@10.7.3)
'@covector/assemble': 0.12.0(mocha@10.7.3)
'@covector/changelog': 0.12.0(mocha@10.7.3)
'@covector/command': 0.8.0(mocha@10.7.3)
'@covector/assemble': 0.12.0
'@covector/changelog': 0.12.0
'@covector/command': 0.8.0
'@covector/files': 0.8.0
effection: 2.0.8(mocha@10.7.3)
globby: 11.1.0
@@ -4433,26 +4431,26 @@ snapshots:
reusify@1.0.4: {}
rollup@4.21.2:
rollup@4.21.3:
dependencies:
'@types/estree': 1.0.5
optionalDependencies:
'@rollup/rollup-android-arm-eabi': 4.21.2
'@rollup/rollup-android-arm64': 4.21.2
'@rollup/rollup-darwin-arm64': 4.21.2
'@rollup/rollup-darwin-x64': 4.21.2
'@rollup/rollup-linux-arm-gnueabihf': 4.21.2
'@rollup/rollup-linux-arm-musleabihf': 4.21.2
'@rollup/rollup-linux-arm64-gnu': 4.21.2
'@rollup/rollup-linux-arm64-musl': 4.21.2
'@rollup/rollup-linux-powerpc64le-gnu': 4.21.2
'@rollup/rollup-linux-riscv64-gnu': 4.21.2
'@rollup/rollup-linux-s390x-gnu': 4.21.2
'@rollup/rollup-linux-x64-gnu': 4.21.2
'@rollup/rollup-linux-x64-musl': 4.21.2
'@rollup/rollup-win32-arm64-msvc': 4.21.2
'@rollup/rollup-win32-ia32-msvc': 4.21.2
'@rollup/rollup-win32-x64-msvc': 4.21.2
'@rollup/rollup-android-arm-eabi': 4.21.3
'@rollup/rollup-android-arm64': 4.21.3
'@rollup/rollup-darwin-arm64': 4.21.3
'@rollup/rollup-darwin-x64': 4.21.3
'@rollup/rollup-linux-arm-gnueabihf': 4.21.3
'@rollup/rollup-linux-arm-musleabihf': 4.21.3
'@rollup/rollup-linux-arm64-gnu': 4.21.3
'@rollup/rollup-linux-arm64-musl': 4.21.3
'@rollup/rollup-linux-powerpc64le-gnu': 4.21.3
'@rollup/rollup-linux-riscv64-gnu': 4.21.3
'@rollup/rollup-linux-s390x-gnu': 4.21.3
'@rollup/rollup-linux-x64-gnu': 4.21.3
'@rollup/rollup-linux-x64-musl': 4.21.3
'@rollup/rollup-win32-arm64-msvc': 4.21.3
'@rollup/rollup-win32-ia32-msvc': 4.21.3
'@rollup/rollup-win32-x64-msvc': 4.21.3
fsevents: 2.3.3
run-parallel@1.2.0:
@@ -4651,10 +4649,10 @@ snapshots:
dependencies:
'@types/unist': 2.0.11
unocss@0.62.3(postcss@8.4.45)(rollup@4.21.2)(vite@5.4.3(terser@5.31.6)):
unocss@0.62.3(postcss@8.4.45)(rollup@4.21.3)(vite@5.4.3(terser@5.31.6)):
dependencies:
'@unocss/astro': 0.62.3(rollup@4.21.2)(vite@5.4.3(terser@5.31.6))
'@unocss/cli': 0.62.3(rollup@4.21.2)
'@unocss/astro': 0.62.3(rollup@4.21.3)(vite@5.4.3(terser@5.31.6))
'@unocss/cli': 0.62.3(rollup@4.21.3)
'@unocss/core': 0.62.3
'@unocss/extractor-arbitrary-variants': 0.62.3
'@unocss/postcss': 0.62.3(postcss@8.4.45)
@@ -4672,7 +4670,7 @@ snapshots:
'@unocss/transformer-compile-class': 0.62.3
'@unocss/transformer-directives': 0.62.3
'@unocss/transformer-variant-group': 0.62.3
'@unocss/vite': 0.62.3(rollup@4.21.2)(vite@5.4.3(terser@5.31.6))
'@unocss/vite': 0.62.3(rollup@4.21.3)(vite@5.4.3(terser@5.31.6))
optionalDependencies:
vite: 5.4.3(terser@5.31.6)
transitivePeerDependencies:
@@ -4706,7 +4704,7 @@ snapshots:
dependencies:
esbuild: 0.21.5
postcss: 8.4.45
rollup: 4.21.2
rollup: 4.21.3
optionalDependencies:
fsevents: 2.3.3
terser: 5.31.6