Compare commits

...

2 Commits

Author SHA1 Message Date
7508f3b11b fix(installer): 다운로드 HTTP 오류에 실패한 URL 표시 (v0.4.28)
fetchBuffer/downloadStream 이 4xx/5xx 에 "HTTP 404" 처럼 상태코드만 던져,
어떤 파일(mods/resourcepack/map/config/server)이 없는지 알 수 없었다.
에러 메시지에 실패 URL 을 붙여 config 미업로드 등 원인을 바로 식별 가능하게 함.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-11 00:08:59 +09:00
bed47e88a0 docs: Fabric 로더 힌트를 meta 프로필 JSON 방식으로 정정
관리자 편집기 platformLoaderHint 가 아직 "fabric-installer CLI 설치"라고
설명하고 있었으나, 실제 설치기는 자바 없이 Fabric Meta profile JSON 을 받아
.minecraft/versions 에 직접 저장한다. UI 설명을 실제 동작에 맞춤.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-10 23:47:48 +09:00
3 changed files with 4 additions and 4 deletions

View File

@@ -117,7 +117,7 @@
"platformDownloadUrl": "플랫폼 설치파일 URL",
"platformDownloadHint": "도메인 없이 입력하면 manifest.json 도메인의 <code>/file/platforms/&lt;파일명&gt;</code>으로 해석됩니다.",
"platformLoaderVersion": "Fabric Loader 버전",
"platformLoaderHint": "선택한 마인크래프트 버전 기준 Fabric Loader 목록입니다. 설치기는 최신 fabric-installer 를 받아 자동으로 CLI 설치합니다.",
"platformLoaderHint": "선택한 마인크래프트 버전 기준 Fabric Loader 목록입니다. 설치기는 자바 없이 Fabric Meta 의 프로필 JSON 을 받아 .minecraft/versions 에 직접 저장합니다.",
"platformLoaderEmpty": "호환 로더 없음",
"platformLoaderPickMc": "마인크래프트 버전을 먼저 선택하세요",
"platformLoaderLoadFailed": "로더 목록 로드 실패: {{message}}",

View File

@@ -1,6 +1,6 @@
{
"name": "minecraft-music-quiz-installer",
"version": "0.4.27",
"version": "0.4.28",
"description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트",
"main": "dist/installer/main.js",
"scripts": {

View File

@@ -152,7 +152,7 @@ function fetchBuffer(url: string, redirects = 0, attempt = 0): Promise<Buffer> {
}
if (code >= 400) {
response.resume()
reject(new Error(`HTTP ${code}`))
reject(new Error(`HTTP ${code}: ${url}`))
return
}
const chunks: Buffer[] = []
@@ -627,7 +627,7 @@ function downloadStream(
res.resume()
fileStream.close(() => {
signal.removeEventListener('abort', onAbort)
if (!settled) { settled = true; reject(new Error(`HTTP ${sc}`)) }
if (!settled) { settled = true; reject(new Error(`HTTP ${sc}: ${url}`)) }
})
return
}