From c273734aec66d445380bf7b891fa5f6b9449434c Mon Sep 17 00:00:00 2001 From: Ap_Tx <3045929398@qq.com> Date: Sat, 26 Sep 2026 09:56:52 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=B8=B4=E6=97=B6=E5=9B=9E=E9=80=80?= =?UTF-8?q?=E5=86=85=E7=BD=AE=E8=87=AA=E5=8A=A8=E6=9B=B4=E6=96=B0=E4=BB=A5?= =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E5=90=AF=E5=8A=A8=E5=B4=A9=E6=BA=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 1.0.0-beta14 启用内置更新后,Windows 上一打开即崩溃(c0000409 栈 溢出)。暂时将 are_updates_enabled 改回 false,待定位并修复崩溃后 再重新启用。 - main.rs: are_updates_enabled 恢复返回 false; - catalog.ts: 增量新增 1.0.0-beta15 公告; - 网站 catalog.json 重新生成。 --- .../app-frontend/src/announcements/catalog.ts | 19 +++++++++++++++++++ apps/app/src/main.rs | 7 ++++--- apps/website/releases/catalog.json | 19 ++++++++++++++++++- 3 files changed, 41 insertions(+), 4 deletions(-) diff --git a/apps/app-frontend/src/announcements/catalog.ts b/apps/app-frontend/src/announcements/catalog.ts index 7be947e..42b6516 100644 --- a/apps/app-frontend/src/announcements/catalog.ts +++ b/apps/app-frontend/src/announcements/catalog.ts @@ -32,6 +32,25 @@ export const ANNOUNCEMENT_CHANGE_TYPES: readonly AnnouncementChangeType[] = [ ] export const launcherAnnouncements: readonly LauncherAnnouncement[] = [ + { + id: 'launcher-1.0.0-beta15', + version: '1.0.0-beta15', + publishedAt: '2026-09-26', + title: { + 'en-US': 'Starlight Launcher 1.0.0-beta15', + 'zh-CN': 'Starlight Launcher 1.0.0-beta15', + }, + changes: { + fixed: [ + { + 'en-US': + 'Fixed the launcher crashing on startup in 1.0.0-beta14 by temporarily reverting the built-in updater. The updater will be re-enabled after the crash is resolved.', + 'zh-CN': + '修复 1.0.0-beta14 中启动器一打开就崩溃的问题:暂时回退了内置自动更新。待崩溃问题解决后会重新启用。', + }, + ], + }, + }, { id: 'launcher-1.0.0-beta14', version: '1.0.0-beta14', diff --git a/apps/app/src/main.rs b/apps/app/src/main.rs index 6fc6e81..f4242d4 100644 --- a/apps/app/src/main.rs +++ b/apps/app/src/main.rs @@ -569,9 +569,10 @@ fn is_dev() -> bool { #[tauri::command] fn are_updates_enabled() -> bool { - // StarLight launcher enables the built-in updater; the endpoint and - // signing public key are configured in tauri-release.conf.json. - true + // Temporarily disabled: enabling the built-in updater causes an immediate + // crash on Windows (c0000409) at startup, pending a fix. + // StarLight launcher ships without the built-in update checker. + false } #[cfg(feature = "updater")] diff --git a/apps/website/releases/catalog.json b/apps/website/releases/catalog.json index e1c9c8f..38f8ccd 100644 --- a/apps/website/releases/catalog.json +++ b/apps/website/releases/catalog.json @@ -1,6 +1,23 @@ { - "updated_at": "2026-09-25T23:51:11.379Z", + "updated_at": "2026-09-26T01:53:59.007Z", "announcements": [ + { + "id": "launcher-1.0.0-beta15", + "version": "1.0.0-beta15", + "publishedAt": "2026-09-26", + "title": { + "en-US": "Starlight Launcher 1.0.0-beta15", + "zh-CN": "Starlight Launcher 1.0.0-beta15" + }, + "changes": { + "fixed": [ + { + "en-US": "Fixed the launcher crashing on startup in 1.0.0-beta14 by temporarily reverting the built-in updater. The updater will be re-enabled after the crash is resolved.", + "zh-CN": "修复 1.0.0-beta14 中启动器一打开就崩溃的问题:暂时回退了内置自动更新。待崩溃问题解决后会重新启用。" + } + ] + } + }, { "id": "launcher-1.0.0-beta14", "version": "1.0.0-beta14",