pull/361/head
Lucas Nogueira 2 years ago
parent ba24207e49
commit 73eca76e0a
No known key found for this signature in database
GPG Key ID: FFEA6C72E73482F1

14
Cargo.lock generated

@ -4960,7 +4960,7 @@ dependencies = [
[[package]]
name = "tauri"
version = "2.0.0-alpha.8"
source = "git+https://github.com/tauri-apps/tauri?branch=next#6d25c4d07fcf18c2a19ac4faa7d9bedd96d1a75f"
source = "git+https://github.com/tauri-apps/tauri?branch=next#e5bd34cb34874239baf5877e0b6a206bd13ff959"
dependencies = [
"anyhow",
"bytes 1.4.0",
@ -5010,7 +5010,7 @@ dependencies = [
[[package]]
name = "tauri-build"
version = "2.0.0-alpha.4"
source = "git+https://github.com/tauri-apps/tauri?branch=next#6d25c4d07fcf18c2a19ac4faa7d9bedd96d1a75f"
source = "git+https://github.com/tauri-apps/tauri?branch=next#e5bd34cb34874239baf5877e0b6a206bd13ff959"
dependencies = [
"anyhow",
"cargo_toml",
@ -5030,7 +5030,7 @@ dependencies = [
[[package]]
name = "tauri-codegen"
version = "2.0.0-alpha.4"
source = "git+https://github.com/tauri-apps/tauri?branch=next#6d25c4d07fcf18c2a19ac4faa7d9bedd96d1a75f"
source = "git+https://github.com/tauri-apps/tauri?branch=next#e5bd34cb34874239baf5877e0b6a206bd13ff959"
dependencies = [
"base64 0.21.0",
"brotli",
@ -5055,7 +5055,7 @@ dependencies = [
[[package]]
name = "tauri-macros"
version = "2.0.0-alpha.4"
source = "git+https://github.com/tauri-apps/tauri?branch=next#6d25c4d07fcf18c2a19ac4faa7d9bedd96d1a75f"
source = "git+https://github.com/tauri-apps/tauri?branch=next#e5bd34cb34874239baf5877e0b6a206bd13ff959"
dependencies = [
"heck 0.4.1",
"proc-macro2",
@ -5449,7 +5449,7 @@ dependencies = [
[[package]]
name = "tauri-runtime"
version = "0.13.0-alpha.4"
source = "git+https://github.com/tauri-apps/tauri?branch=next#6d25c4d07fcf18c2a19ac4faa7d9bedd96d1a75f"
source = "git+https://github.com/tauri-apps/tauri?branch=next#e5bd34cb34874239baf5877e0b6a206bd13ff959"
dependencies = [
"gtk",
"http",
@ -5469,7 +5469,7 @@ dependencies = [
[[package]]
name = "tauri-runtime-wry"
version = "0.13.0-alpha.4"
source = "git+https://github.com/tauri-apps/tauri?branch=next#6d25c4d07fcf18c2a19ac4faa7d9bedd96d1a75f"
source = "git+https://github.com/tauri-apps/tauri?branch=next#e5bd34cb34874239baf5877e0b6a206bd13ff959"
dependencies = [
"cocoa",
"gtk",
@ -5489,7 +5489,7 @@ dependencies = [
[[package]]
name = "tauri-utils"
version = "2.0.0-alpha.4"
source = "git+https://github.com/tauri-apps/tauri?branch=next#6d25c4d07fcf18c2a19ac4faa7d9bedd96d1a75f"
source = "git+https://github.com/tauri-apps/tauri?branch=next#e5bd34cb34874239baf5877e0b6a206bd13ff959"
dependencies = [
"aes-gcm 0.10.1",
"brotli",

@ -28,7 +28,7 @@ tauri-plugin-os = { path = "../../../plugins/os" }
tauri-plugin-process = { path = "../../../plugins/process" }
tauri-plugin-shell = { path = "../../../plugins/shell" }
tauri-plugin-updater = { path = "../../../plugins/updater" }
tauri-plugin-window = { path = "../../../plugins/window" }
tauri-plugin-window = { path = "../../../plugins/window", features = ["devtools", "icon-ico", "icon-png"] }
[dependencies.tauri]
workspace = true

@ -271,8 +271,8 @@ pub(crate) async fn ask<R: Runtime>(
title,
message,
type_,
ok_button_label,
cancel_button_label,
Some(ok_button_label.unwrap_or_else(|| "Yes".into())),
Some(cancel_button_label.unwrap_or_else(|| "No".into())),
))
}
@ -292,7 +292,7 @@ pub(crate) async fn confirm<R: Runtime>(
title,
message,
type_,
ok_button_label,
cancel_button_label,
Some(ok_button_label.unwrap_or_else(|| "Ok".into())),
Some(cancel_button_label.unwrap_or_else(|| "Cancel".into())),
))
}

@ -1,3 +1,3 @@
window.hotkeys('__SHORTCUT__', () => {
window.__TAURI_INVOKE__('plugin:tauri|internal_toggle_devtools');
window.__TAURI_INVOKE__('plugin:window|internal_toggle_devtools');
});

Loading…
Cancel
Save