Skip to content

Commit 22833c7

Browse files
committed
chore: $ cargo tauri add store
1 parent 84d90f3 commit 22833c7

File tree

6 files changed

+30
-0
lines changed

6 files changed

+30
-0
lines changed

package-lock.json

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
"@tauri-apps/plugin-opener": "^2",
1818
"@tauri-apps/plugin-os": "^2.2.0",
1919
"@tauri-apps/plugin-shell": "^2.2.0",
20+
"@tauri-apps/plugin-store": "^2.2.0",
2021
"@tauri-apps/plugin-upload": "^2.2.1",
2122
"react": "^18.3.1",
2223
"react-dom": "^18.3.1",

src-tauri/Cargo.lock

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src-tauri/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,5 @@ tauri-plugin-shell = "2"
2929
tauri-plugin-fs = "2"
3030
tauri-plugin-log = "2"
3131
time = { version = "0.3", features = ["formatting"] }
32+
tauri-plugin-store = "2"
3233

src-tauri/capabilities/default.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
"os:allow-platform",
1313
"shell:allow-kill",
1414
"shell:default",
15+
"store:default",
1516
"upload:default",
1617
{
1718
"identifier": "fs:allow-exists",

src-tauri/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ fn network_connect(network_id: &str) -> String {
77
#[cfg_attr(mobile, tauri::mobile_entry_point)]
88
pub fn run() {
99
tauri::Builder::default()
10+
.plugin(tauri_plugin_store::Builder::new().build())
1011
.plugin(
1112
tauri_plugin_log::Builder::new()
1213
// https://tauri.app/plugin/logging/#formatting

0 commit comments

Comments
 (0)