Updated Tauri Config to accomodate needed APIs and change default size

This commit is contained in:
Neshura 2023-11-15 23:53:16 +01:00
parent d6c5e52527
commit cce3338dc9
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
2 changed files with 12 additions and 3 deletions

View file

@ -13,7 +13,7 @@ edition = "2021"
tauri-build = { version = "1.4", features = [] } tauri-build = { version = "1.4", features = [] }
[dependencies] [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"] } quick-xml = { version = "0.29.0", features = ["serde", "serialize"] }
serde = { version = "1.0", features = ["derive"] } serde = { version = "1.0", features = ["derive"] }
serde-xml-rs = "0.6.0" serde-xml-rs = "0.6.0"

View file

@ -16,6 +16,15 @@
"shell": { "shell": {
"all": false, "all": false,
"open": true "open": true
},
"dialog": {
"open": true
},
"path": {
"all": true
},
"os": {
"all": true
} }
}, },
"bundle": { "bundle": {
@ -38,8 +47,8 @@
"fullscreen": false, "fullscreen": false,
"resizable": true, "resizable": true,
"title": "comicinfo-editor-v2", "title": "comicinfo-editor-v2",
"width": 800, "width": 1280,
"height": 600 "height": 720
} }
] ]
} }