feat(update): 应用内更新提示支持英文 release notes
This commit is contained in:
1 parent
f45011977f
commit
9cbe857a2a
11 files changed
+214
-20
No files matched your search
@@ -363,7 +363,8 @@ fn build_plugin_status(
|
||||
}
|
||||
|
||||
async fn latest_jdbc_plugin() -> Option<JdbcPluginLatest> {
|
||||
fetch_latest_release().await.ok().and_then(|release| release.jdbc_plugin)
|
||||
// 只需 jdbc_plugin,不关心 release notes;传中文 locale 跳过英文 notes 拉取
|
||||
fetch_latest_release("zh-CN").await.ok().and_then(|release| release.jdbc_plugin)
|
||||
}
|
||||
|
||||
async fn download_jdbc_plugin_zip_with_progress(progress: &impl Fn(AgentProgressEvent)) -> Result<Vec<u8>, String> {
|
||||
|
||||
Reference in new issue
Block a user