diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 584ec19..3b65978 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" tauri-build = { version = "1.4", features = [] } [dependencies] -tauri = { version = "1.4", features = ["shell-open"] } +tauri = { version = "1.4", features = [ "os-all", "path-all", "dialog-open", "shell-open"] } quick-xml = { version = "0.29.0", features = ["serde", "serialize"] } serde = { version = "1.0", features = ["derive"] } serde-xml-rs = "0.6.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 686dc01..3a5e3fe 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -16,6 +16,15 @@ "shell": { "all": false, "open": true + }, + "dialog": { + "open": true + }, + "path": { + "all": true + }, + "os": { + "all": true } }, "bundle": { @@ -38,8 +47,8 @@ "fullscreen": false, "resizable": true, "title": "comicinfo-editor-v2", - "width": 800, - "height": 600 + "width": 1280, + "height": 720 } ] }