앱 업데이트 실패 문제
This commit is contained in:
@@ -147,6 +147,11 @@ async function formatUpdateError(e: unknown): Promise<string> {
|
||||
const onWin = isWindowsOs();
|
||||
|
||||
if (!msg.trim()) return '업데이트 확인에 실패했습니다.';
|
||||
if (/unexpected end of json|eof|empty|content-length.*0|^$/.test(lower) && msg.trim().length < 80) {
|
||||
return onMac
|
||||
? '서버 latest.json 이 비어 있습니다. PC 프로그램 탭에서 dmg를 받아 다시 설치해 주세요. (관리자: Desktop Jenkins publish 필요)'
|
||||
: '서버 latest.json 이 비어 있습니다. PC 프로그램 탭에서 exe를 받아 다시 설치해 주세요. (관리자: Desktop Jenkins publish 필요)';
|
||||
}
|
||||
if (/could not fetch a valid release json|release not found/.test(lower)) {
|
||||
return onMac
|
||||
? '업데이트 서버 응답을 처리하지 못했습니다. PC 프로그램 탭에서 dmg를 새로 설치해 주세요.'
|
||||
|
||||
Reference in New Issue
Block a user