Skip to content

Commit 13714e1

Browse files
committed
chore: Migrate to v2 plugins
1 parent ada4626 commit 13714e1

10 files changed

Lines changed: 261 additions & 22 deletions

File tree

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
},
1212
"dependencies": {
1313
"@tauri-apps/api": "2.0.0",
14+
"@tauri-apps/plugin-dialog": "2.0.0",
15+
"@tauri-apps/plugin-process": "2.0.0",
1416
"@tauri-apps/plugin-updater": "2.0.0"
1517
},
1618
"devDependencies": {

pnpm-lock.yaml

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

src-tauri/Cargo.lock

Lines changed: 202 additions & 2 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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ serde = { version = "1.0", features = ["derive"] }
1818
serde_json = "1.0"
1919
rdev = "0.5.3"
2020
tauri-plugin-single-instance = "2"
21+
tauri-plugin-dialog = "2"
22+
tauri-plugin-process = "2"
2123

2224
[features]
2325
# this feature is used for production builds or when `devPath` points to the filesystem
Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,17 @@
11
{
2+
"$schema": "../gen/schemas/desktop-schema.json",
23
"identifier": "desktop-capability",
4+
"windows": [
5+
"main"
6+
],
37
"platforms": [
4-
"macOS",
5-
"windows",
6-
"linux"
8+
"windows"
79
],
810
"permissions": [
9-
"updater:default"
11+
"core:default",
12+
"core:window:allow-start-dragging",
13+
"updater:default",
14+
"dialog:default",
15+
"process:default"
1016
]
11-
}
17+
}

0 commit comments

Comments
 (0)