feat: 启用内置自动更新
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Starlight release / Release preflight (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled
Starlight release / Build (Windows x64) (push) Has been cancelled
Starlight release / Build (Linux arm64) (push) Has been cancelled
Starlight release / Build (Linux x64) (push) Has been cancelled
Starlight release / Build (macOS universal) (push) Has been cancelled
Starlight release / Verify and publish (push) Has been cancelled
Axolotl desktop CI / guardrails (push) Has been cancelled
Axolotl desktop CI / desktop (macos-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (ubuntu-latest) (push) Has been cancelled
Axolotl desktop CI / desktop (windows-latest) (push) Has been cancelled
Axolotl desktop CI / website (push) Has been cancelled
Repository checks / typos (push) Has been cancelled
Repository checks / tombi (push) Has been cancelled
Rust checks / shear (push) Has been cancelled
Sync source to CNB / Sync Git ref (push) Has been cancelled
Starlight release / Release preflight (push) Has been cancelled
Prepare pnpm cache / prepare (push) Has been cancelled
Starlight release / Build (Windows x64) (push) Has been cancelled
Starlight release / Build (Linux arm64) (push) Has been cancelled
Starlight release / Build (Linux x64) (push) Has been cancelled
Starlight release / Build (macOS universal) (push) Has been cancelled
Starlight release / Verify and publish (push) Has been cancelled
- are_updates_enabled 由硬编码 false 改为 true,正式启用内置更新器 (更新端点与签名公钥由 tauri-release.conf.json 配置)。 - catalog.ts 新增 1.0.0-beta14 公告(增量追加,保留历史版本)。 - 网站 catalog.json 由 catalog.ts 重新生成。
This commit is contained in:
1 parent
2192a19d50
commit
f92aee9b4c
3 files changed
+76
-7
No files matched your search
@@ -32,10 +32,47 @@ export const ANNOUNCEMENT_CHANGE_TYPES: readonly AnnouncementChangeType[] = [
|
||||
]
|
||||
|
||||
export const launcherAnnouncements: readonly LauncherAnnouncement[] = [
|
||||
{
|
||||
id: 'launcher-1.0.0-beta14',
|
||||
version: '1.0.0-beta14',
|
||||
publishedAt: '2026-09-26',
|
||||
title: {
|
||||
'en-US': 'Starlight Launcher 1.0.0-beta14',
|
||||
'zh-CN': 'Starlight Launcher 1.0.0-beta14',
|
||||
},
|
||||
changes: {
|
||||
added: [
|
||||
{
|
||||
'en-US':
|
||||
'Enabled the built-in automatic updater, so the launcher can check for and install new versions from the update channel.',
|
||||
'zh-CN': '启用内置自动更新,启动器现在可以从更新通道检查并安装新版本。',
|
||||
},
|
||||
],
|
||||
fixed: [
|
||||
{
|
||||
'en-US':
|
||||
'Fixed the updater manifest download URL and release ordering so update checks succeed.',
|
||||
'zh-CN': '修复更新清单的下载地址与发布顺序,更新检查现在可以成功。',
|
||||
},
|
||||
{
|
||||
'en-US':
|
||||
'Updated the signing key pair used to sign update packages.',
|
||||
'zh-CN': '更新了用于签名更新包的密钥对。',
|
||||
},
|
||||
],
|
||||
changed: [
|
||||
{
|
||||
'en-US':
|
||||
'Removed upstream release announcements prior to 1.0.0-beta1.',
|
||||
'zh-CN': '移除了 1.0.0-beta1 之前的上游版本公告。',
|
||||
},
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
id: 'launcher-1.0.0-beta13',
|
||||
version: '1.0.0-beta13',
|
||||
publishedAt: '2026-09-26',
|
||||
publishedAt: '2026-09-25',
|
||||
title: {
|
||||
'en-US': 'Starlight Launcher 1.0.0-beta13',
|
||||
'zh-CN': 'Starlight Launcher 1.0.0-beta13',
|
||||
|
||||
@@ -569,10 +569,9 @@ fn is_dev() -> bool {
|
||||
|
||||
#[tauri::command]
|
||||
fn are_updates_enabled() -> bool {
|
||||
// StarLight launcher ships without the built-in update checker.
|
||||
// Keep the backend interface in place for a future user-supplied
|
||||
// update URL to be wired in by replacing this no-op gate later.
|
||||
false
|
||||
// StarLight launcher enables the built-in updater; the endpoint and
|
||||
// signing public key are configured in tauri-release.conf.json.
|
||||
true
|
||||
}
|
||||
|
||||
#[cfg(feature = "updater")]
|
||||
|
||||
@@ -1,10 +1,43 @@
|
||||
{
|
||||
"updated_at": "2026-09-25T23:32:13.095Z",
|
||||
"updated_at": "2026-09-25T23:51:11.379Z",
|
||||
"announcements": [
|
||||
{
|
||||
"id": "launcher-1.0.0-beta14",
|
||||
"version": "1.0.0-beta14",
|
||||
"publishedAt": "2026-09-26",
|
||||
"title": {
|
||||
"en-US": "Starlight Launcher 1.0.0-beta14",
|
||||
"zh-CN": "Starlight Launcher 1.0.0-beta14"
|
||||
},
|
||||
"changes": {
|
||||
"added": [
|
||||
{
|
||||
"en-US": "Enabled the built-in automatic updater, so the launcher can check for and install new versions from the update channel.",
|
||||
"zh-CN": "启用内置自动更新,启动器现在可以从更新通道检查并安装新版本。"
|
||||
}
|
||||
],
|
||||
"fixed": [
|
||||
{
|
||||
"en-US": "Fixed the updater manifest download URL and release ordering so update checks succeed.",
|
||||
"zh-CN": "修复更新清单的下载地址与发布顺序,更新检查现在可以成功。"
|
||||
},
|
||||
{
|
||||
"en-US": "Updated the signing key pair used to sign update packages.",
|
||||
"zh-CN": "更新了用于签名更新包的密钥对。"
|
||||
}
|
||||
],
|
||||
"changed": [
|
||||
{
|
||||
"en-US": "Removed upstream release announcements prior to 1.0.0-beta1.",
|
||||
"zh-CN": "移除了 1.0.0-beta1 之前的上游版本公告。"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
{
|
||||
"id": "launcher-1.0.0-beta13",
|
||||
"version": "1.0.0-beta13",
|
||||
"publishedAt": "2026-09-26",
|
||||
"publishedAt": "2026-09-25",
|
||||
"title": {
|
||||
"en-US": "Starlight Launcher 1.0.0-beta13",
|
||||
"zh-CN": "Starlight Launcher 1.0.0-beta13"
|
||||
|
||||
Reference in new issue
Block a user