diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 7f5e49a..b47cfb7 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -13,7 +13,7 @@ edition = "2021" tauri-build = { version = "1.2", features = [] } [dependencies] -tauri = { version = "1.2", features = ["fs-create-dir", "fs-exists", "fs-read-dir", "fs-write-file", "http-all", "shell-all", "window-close", "window-maximize", "window-minimize", "window-unmaximize"] } +tauri = { version = "1.2", features = ["fs-create-dir", "fs-exists", "fs-read-dir", "fs-read-file", "fs-write-file", "http-all", "path-all", "shell-all", "window-close", "window-maximize", "window-minimize", "window-unmaximize"] } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 6a9be9b..80b2156 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -28,6 +28,9 @@ "writeFile": true, "scope": ["$DOWNLOAD/**/*"] }, + "path": { + "all": true + }, "shell": { "all": true, "execute": true, @@ -70,8 +73,8 @@ "decorations": false, "center": true, "resizable": true, - "width": 800, - "height": 500 + "width": 1000, + "height": 600 } ] }