fix: 临时回退内置自动更新以修复启动崩溃
1.0.0-beta14 启用内置更新后,Windows 上一打开即崩溃(c0000409 栈 溢出)。暂时将 are_updates_enabled 改回 false,待定位并修复崩溃后 再重新启用。 - main.rs: are_updates_enabled 恢复返回 false; - catalog.ts: 增量新增 1.0.0-beta15 公告; - 网站 catalog.json 重新生成。
This commit is contained in:
1 parent
f89cbff37e
commit
37313f986a
3 files changed
+41
-4
No files matched your search
@@ -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',
|
||||
|
||||
@@ -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")]
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user