Skip to content

Commit ba15adc

Browse files
committed
fix: Bump tauri versions, fix CSP ICP issue.
1 parent 8b695c7 commit ba15adc

File tree

4 files changed

+33
-32
lines changed

4 files changed

+33
-32
lines changed

src-tauri/Cargo.lock

Lines changed: 18 additions & 18 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ rust-version = "1.60"
1212
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1313

1414
[build-dependencies]
15-
tauri-build = { version = "2.0.0-beta.19", features = [] }
15+
tauri-build = { version = "2.0.0-rc.0", features = [] }
1616

1717
[dependencies]
1818
serde_json = "1.0"
1919
serde = { version = "1.0", features = ["derive"] }
20-
tauri = { version = "2.0.0-beta.25", features = ["linux-ipc-protocol"] }
20+
tauri = { version = "2.0.0-rc.0", features = ["linux-ipc-protocol"] }
2121
bluest = { version = "0.6.6", features = ["serde"] }
2222
async-std = "1.12.0"
2323
uuid = "1.6.1"
@@ -34,4 +34,4 @@ tokio = { version = "1.37.0", features = ["io-util"] }
3434
custom-protocol = [ "tauri/custom-protocol" ]
3535

3636
[target."cfg(not(any(target_os = \"android\", target_os = \"ios\")))".dependencies]
37-
tauri-plugin-cli = "2.0.0-beta.9"
37+
tauri-plugin-cli = "2.0.0-rc.0"

src-tauri/capabilities/default.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66
"main"
77
],
88
"permissions": [
9-
"path:default",
10-
"event:default",
11-
"window:default",
12-
"webview:default",
13-
"app:default",
14-
"resources:default",
15-
"image:default",
16-
"menu:default",
17-
"tray:default",
9+
"core:path:default",
10+
"core:event:default",
11+
"core:window:default",
12+
"core:webview:default",
13+
"core:app:default",
14+
"core:resources:default",
15+
"core:image:default",
16+
"core:menu:default",
17+
"core:tray:default",
1818
"cli:default"
1919
]
2020
}

src-tauri/tauri.conf.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"identifier": "dev.zmk.studio",
1212
"bundle": {
1313
"active": true,
14-
"category": "DeveloperTool",
14+
"category": "Productivity",
1515
"copyright": "",
1616
"linux": {
1717
"deb": {
@@ -57,9 +57,10 @@
5757
},
5858
"app": {
5959
"security": {
60+
"capabilities": ["default"],
6061
"csp": {
6162
"default-src": "'self' customprotocol: asset:",
62-
"connect-src": "ipc: https://ipc.localhost"
63+
"connect-src": "ipc: http://ipc.localhost"
6364
}
6465
},
6566
"windows": [

0 commit comments

Comments
 (0)