fix: Windows desktop updater — setup.exe in latest.json

Tauri v2 signs *-setup.exe for NSIS updates, not only nsis.zip.
Include windows-x86_64 in latest.json and improve platform error messages.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Macbook
2026-06-14 11:48:38 +09:00
parent 61de2fb1e6
commit 402f664db7
4 changed files with 11 additions and 3 deletions
+4 -1
View File
@@ -49,8 +49,11 @@ function formatUpdateError(e: unknown): string {
if (/network|fetch|connect|timeout|dns|offline|failed to send/.test(lower)) {
return `네트워크 오류로 업데이트를 확인하지 못했습니다. (${msg})`;
}
if (/fallback platforms|platforms object|windows-x86_64/.test(lower)) {
return 'Windows용 업데이트 패키지가 서버에 없습니다. 웹 PC 프로그램 탭에서 exe 설치 파일을 받아 다시 설치해 주세요.';
}
if (/platform|darwin|arch|target/.test(lower)) {
return `이 PC용 업데이트 패키지가 없습니다. (${msg})`;
return `이 PC용 업데이트 패키지가 없습니다. 웹 PC 프로그램 탭에서 설치 파일을 다시 받아 주세요.`;
}
return msg;
}