refactor(tauri-config): Allowlist for the path APIs.
This commit is contained in:
parent
a4f1ed4694
commit
243b9f3d36
@ -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"
|
||||
|
||||
|
@ -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
|
||||
}
|
||||
]
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user