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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user