fix: Windows updater — platform-specific reinstall hints for v0.1.1 pubkey error

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-14 12:26:28 +09:00
parent c0a23e4057
commit e658d9afe4
3 changed files with 32 additions and 2 deletions
+3
View File
@@ -69,6 +69,9 @@ async function formatUpdateError(e: unknown): Promise<string> {
: '업데이트 서명 검증에 실패했습니다. PC 프로그램 탭에서 exe를 다시 받아 주세요.';
}
if (/invalid symbol|offset \d+|replace_with/.test(lower)) {
if (onWin) {
return '이 버전(v0.1.1 이전/초기 exe)에는 자동 업데이트 키가 없습니다. 웹 PC 프로그램 탭에서 최신 exe 설치 파일을 받아 다시 설치해 주세요. 이후부터는 자동 업데이트가 됩니다.';
}
return '이 버전(v0.1.1 이전/초기 dmg)에는 자동 업데이트 키가 없습니다. 웹 PC 프로그램 탭에서 최신 dmg를 받아 Applications에 다시 설치해 주세요. 이후부터는 자동 업데이트가 됩니다.';
}
if (/404|not found/.test(lower)) {