Skip to content

Commit 618fe6e

Browse files
author
bealqiu
committed
feat: 添加命令面板和 Edge TTS 引擎
1 parent 4a80b6a commit 618fe6e

15 files changed

Lines changed: 1229 additions & 37 deletions

File tree

packages/app/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"@tauri-apps/plugin-opener": "^2",
3737
"@tauri-apps/plugin-sql": "^2",
3838
"@tauri-apps/plugin-updater": "^2",
39+
"@tauri-apps/plugin-websocket": "^2.4.2",
3940
"@tiptap/extension-placeholder": "^3.20.0",
4041
"@tiptap/markdown": "^3.20.0",
4142
"@tiptap/pm": "^3.20.0",

packages/app/src-tauri/Cargo.lock

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

packages/app/src-tauri/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@ tauri-plugin-http = "2"
2323
rusqlite = { version = "0.31", features = ["bundled"] }
2424
anyhow = "1"
2525
serde_json = "1"
26+
tauri-plugin-websocket = "2"

packages/app/src-tauri/capabilities/default.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
"allow": [
4343
{ "url": "https://dashscope.aliyuncs.com/**" }
4444
]
45-
}
45+
},
46+
"websocket:default"
4647
]
4748
}

packages/app/src-tauri/src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ pub fn run() {
99
.plugin(tauri_plugin_dialog::init())
1010
.plugin(tauri_plugin_updater::Builder::new().build())
1111
.plugin(tauri_plugin_http::init())
12+
.plugin(tauri_plugin_websocket::init())
1213
.setup(|app| {
1314
let app_handle = app.handle().clone();
1415
if let Err(e) = db::init_database_sync(&app_handle) {

0 commit comments

Comments
 (0)