chore: enabled readText in tauri config
Signed-off-by: mellobacon <mellodev@outlook.com>
mellobacon committed
May 2, 2024 at 12:06 UTC
d128233d87da849b4c1fcfb98221e55dbfaaf3f3
2 files changed
+4
-4
src-tauri/Cargo.toml
+1
-1
@@ -15,7 +15,7 @@ tauri-build = { version = "1.4.0", features = [] }
15
[dependencies]
16
serde_json = "1.0"
17
serde = { version = "1.0", features = ["derive"] }
18
-tauri = { version = "1.4.1", features = ["clipboard-write-text", "dialog-ask", "dialog-confirm", "dialog-open", "dialog-save", "fs-create-dir", "fs-exists", "fs-read-dir", "fs-read-file", "fs-rename-file", "fs-write-file", "path-all", "shell-open", "window-center", "window-close", "window-create", "window-hide", "window-maximize", "window-minimize", "window-print", "window-set-decorations", "window-set-focus", "window-set-fullscreen", "window-set-icon", "window-show", "window-start-dragging", "window-unmaximize", "window-unminimize"] }
18
+tauri = { version = "1.4.1", features = [ "fs-copy-file", "clipboard-read-text", "clipboard-write-text", "dialog-ask", "dialog-confirm", "dialog-open", "dialog-save", "fs-create-dir", "fs-exists", "fs-read-dir", "fs-read-file", "fs-rename-file", "fs-write-file", "path-all", "shell-open", "window-center", "window-close", "window-create", "window-hide", "window-maximize", "window-minimize", "window-print", "window-set-decorations", "window-set-focus", "window-set-fullscreen", "window-set-icon", "window-show", "window-start-dragging", "window-unmaximize", "window-unminimize"] }
19
tauri-plugin-fs-watch = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
20
trash = "3.0.2"
21
tauri-plugin-store = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "v1" }
src-tauri/tauri.conf.json
+3
-3
@@ -19,12 +19,12 @@
19
},
20
"clipboard": {
21
"all": false,
22
- "readText": false,
22
+ "readText": true,
23
"writeText": true
24
},
25
"fs": {
26
"all": false,
27
- "copyFile": false,
27
+ "copyFile": true,
28
"createDir": true,
29
"exists": true,
30
"readDir": true,
@@ -133,4 +133,4 @@
133
}
134
]
135
}
136
-}
\ No newline at end of file
136
+}