mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2026-02-08 23:44:25 +08:00
Compare commits
2 Commits
540f93ad25
...
aef119bb2b
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
aef119bb2b | ||
|
|
b2de4c0461 |
1213
src-tauri/Cargo.lock
generated
1213
src-tauri/Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
@@ -24,7 +24,15 @@ serde = { version = "1.0", features = ["derive"] }
|
||||
log = "0.4"
|
||||
tauri = { version = "2.0.0-rc.15", features = [] }
|
||||
tauri-plugin-log = "2.0.0-rc"
|
||||
tauri-plugin-clipboard-manager = "2.0.0-rc.4"
|
||||
tauri-plugin-dialog = "2.0.0-rc.7"
|
||||
tauri-plugin-fs = "2.0.0-rc.5"
|
||||
tauri-plugin-http = "2.0.0-rc.5"
|
||||
tauri-plugin-updater = "2.0.0-rc.3"
|
||||
tauri-plugin-notification = "2.0.0-rc.5"
|
||||
tauri-plugin-shell = "2.0.0-rc.3"
|
||||
tauri-plugin-window-state = "2.0.0-rc.5"
|
||||
|
||||
|
||||
[replace]
|
||||
# using this version from github fixed data_directory for webkitgtk
|
||||
|
||||
@@ -7,6 +7,9 @@
|
||||
"core:default",
|
||||
"core:window:allow-start-dragging",
|
||||
"core:window:allow-maximize",
|
||||
"clipboard-manager:allow-write-text",
|
||||
"fs:default",
|
||||
"fs:allow-exists",
|
||||
{
|
||||
"identifier": "http:default",
|
||||
"allow": [
|
||||
@@ -17,6 +20,10 @@
|
||||
"url": "http://*"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"notification:default",
|
||||
"shell:allow-open",
|
||||
"window-state:allow-restore-state",
|
||||
"window-state:allow-save-window-state"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
pub fn run() {
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_clipboard_manager::init())
|
||||
.plugin(tauri_plugin_dialog::init())
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
.plugin(tauri_plugin_http::init())
|
||||
.plugin(tauri_plugin_notification::init())
|
||||
.plugin(tauri_plugin_shell::init())
|
||||
.plugin(tauri_plugin_window_state::Builder::default().build())
|
||||
.setup(|app| {
|
||||
if cfg!(debug_assertions) {
|
||||
app.handle().plugin(
|
||||
@@ -9,6 +15,7 @@ pub fn run() {
|
||||
.level(log::LevelFilter::Info)
|
||||
.build(),
|
||||
)?;
|
||||
app.handle().plugin(tauri_plugin_updater::Builder::new().build())?;
|
||||
}
|
||||
Ok(())
|
||||
})
|
||||
|
||||
@@ -10,7 +10,19 @@
|
||||
"devUrl": "http://localhost:3000",
|
||||
"frontendDist": "../out"
|
||||
},
|
||||
"plugins": {},
|
||||
"plugins": {
|
||||
"updater": {
|
||||
"active": true,
|
||||
"dialog": false,
|
||||
"windows": {
|
||||
"installMode": "passive"
|
||||
},
|
||||
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IERFNDE4MENFM0Y1RTZBOTQKUldTVWFsNC96b0JCM3RqM2NmMnlFTmxIaStRaEJrTHNOU2VqRVlIV1hwVURoWUdVdEc1eDcxVEYK",
|
||||
"endpoints": [
|
||||
"https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/releases/latest/download/latest.json"
|
||||
]
|
||||
}
|
||||
},
|
||||
"app": {
|
||||
"withGlobalTauri": true,
|
||||
"windows": [
|
||||
@@ -44,6 +56,7 @@
|
||||
"icons/128x128@2x.png",
|
||||
"icons/icon.icns",
|
||||
"icons/icon.ico"
|
||||
]
|
||||
],
|
||||
"createUpdaterArtifacts": "v1Compatible"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user