Update dependencies and add dialog tauri plugin

This commit is contained in:
Lncvrt committed 2025-08-06 21:09:59 -07:00
1 parent 45cea5e28e
commit 4a4e1d6b02
5 files changed
+33 -19

No files matched your search

+2 -1
View File
@@ -14,7 +14,8 @@ tauri-build = { version = "2.3.1", features = [] }
[dependencies]
tauri = { version = "2.7.0", features = [] }
serde = { version = "1.0.219", features = ["derive"] }
serde_json = "1.0.141"
serde_json = "1.0.142"
tauri-plugin-dialog = "2.3.2"
[target.'cfg(not(any(target_os = "android", target_os = "ios")))'.dependencies]
tauri-plugin-single-instance = "2.3.2"
+6 -2
View File
@@ -2,12 +2,16 @@
"$schema": "../gen/schemas/desktop-schema.json",
"identifier": "default",
"description": "Capability for the main window",
"windows": ["main"],
"windows": [
"main",
"new_project_popup"
],
"permissions": [
"core:default",
"core:webview:allow-create-webview-window",
"core:window:allow-set-enabled",
"core:window:allow-set-focus",
"core:window:allow-set-closable"
"core:window:allow-set-closable",
"dialog:default"
]
}
+1
View File
@@ -3,6 +3,7 @@ use tauri::Manager;
#[cfg_attr(mobile, tauri::mobile_entry_point)]
pub fn run() {
tauri::Builder::default()
.plugin(tauri_plugin_dialog::init())
.plugin(tauri_plugin_single_instance::init(|app, _args, _cwd| {
let _ = app
.get_webview_window("main")