From cce3338dc9a84dd7da381602d4c2275b12c90368 Mon Sep 17 00:00:00 2001 From: Neshura Date: Wed, 15 Nov 2023 23:53:16 +0100 Subject: [PATCH] Updated Tauri Config to accomodate needed APIs and change default size --- src-tauri/Cargo.toml | 2 +- src-tauri/tauri.conf.json | 13 +++++++++++-- 2 files changed, 12 insertions(+), 3 deletions(-) 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 } ] }