refactor(tauri): Update tauri config permissions
The "fs-remove-dir" feature has been added to Tauri dependencies, enabling the directory deletion operation. Similar changes were made to the tauri.conf.json file.
This commit is contained in:
parent
fbf1a5dc7b
commit
ea7c2cbf78
@ -13,7 +13,7 @@ edition = "2021"
|
|||||||
tauri-build = { version = "1.2", features = [] }
|
tauri-build = { version = "1.2", features = [] }
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
tauri = { version = "1.2", features = ["fs-create-dir", "fs-exists", "fs-read-dir", "fs-write-file", "http-all", "path-all", "window-close", "window-minimize", "window-start-dragging"] }
|
tauri = { version = "1.2", features = ["fs-create-dir", "fs-exists", "fs-read-dir", "fs-remove-dir", "fs-write-file", "http-all", "path-all", "window-close", "window-minimize", "window-start-dragging"] }
|
||||||
serde = { version = "1.0", features = ["derive"] }
|
serde = { version = "1.0", features = ["derive"] }
|
||||||
serde_json = "1.0"
|
serde_json = "1.0"
|
||||||
|
|
||||||
|
@ -24,6 +24,7 @@
|
|||||||
"createDir": true,
|
"createDir": true,
|
||||||
"exists": true,
|
"exists": true,
|
||||||
"readDir": true,
|
"readDir": true,
|
||||||
|
"removeDir": true,
|
||||||
"writeFile": true,
|
"writeFile": true,
|
||||||
"scope": ["$DOWNLOAD/**/*"]
|
"scope": ["$DOWNLOAD/**/*"]
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user