Compare commits

...

2 Commits

Author SHA1 Message Date
9e9eae0920 fix(installer): config zip 경로 단수화 소스 반영 (v0.4.29)
이전 커밋(082dae5)은 file/configs→config 폴더 rename 만 담기고 실제 소스
변경이 누락됐다. resolveManifestRelative subDir 를 'config' 로, 관련
타입 주석/로케일 힌트/버전(0.4.29)까지 반영.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-08-11 00:23:48 +09:00
082dae5a90 fix(installer): config zip 다운로드 경로를 /file/config (단수)로 정정 (v0.4.29)
설치기가 /file/configs (복수)에서 받으려 해 서버의 file/config (단수)에
올린 zip 을 못 찾아 HTTP 404 로 실패했다. 마인크래프트 config 폴더 및
운영 서버 디렉터리 규칙에 맞춰 단수 config 로 통일.

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

View File

@@ -135,7 +135,7 @@
"mapPath": "맵 파일 (.zip)", "mapPath": "맵 파일 (.zip)",
"mapPathHint": "/file/maps/ 아래 zip 파일 이름.", "mapPathHint": "/file/maps/ 아래 zip 파일 이름.",
"configPath": "config 파일 (.zip)", "configPath": "config 파일 (.zip)",
"configPathHint": "/file/configs/ 아래 zip 파일 이름. 게임 폴더 루트에 그대로 풀립니다(보통 zip 안에 config/ 폴더).", "configPathHint": "/file/config/ 아래 zip 파일 이름. 게임 폴더 루트에 그대로 풀립니다(보통 zip 안에 config/ 폴더).",
"serverPath": "서버 파일 (.zip)", "serverPath": "서버 파일 (.zip)",
"serverPathHint": "/file/servers/ 아래 zip 파일 이름. 멀티 모드 전용.", "serverPathHint": "/file/servers/ 아래 zip 파일 이름. 멀티 모드 전용.",
"modsFolder": "모드 폴더 이름", "modsFolder": "모드 폴더 이름",

View File

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

View File

@@ -775,7 +775,7 @@ async function downloadConfigZip(pack: PackDefinition, customRoot: string): Prom
sendLog(t('log.skipConfigZip')) sendLog(t('log.skipConfigZip'))
return return
} }
const url = resolveManifestRelative(pack.configPath, 'configs') const url = resolveManifestRelative(pack.configPath, 'config')
await downloadAndExtractZip(url, t('log.labelConfigFile'), customRoot) await downloadAndExtractZip(url, t('log.labelConfigFile'), customRoot)
} }

View File

@@ -42,7 +42,7 @@ export interface PackDefinition {
/** /file/maps/<mapPath> 에서 받아 .mc_custom/saves 로 풀 zip 파일 이름. */ /** /file/maps/<mapPath> 에서 받아 .mc_custom/saves 로 풀 zip 파일 이름. */
mapPath: string mapPath: string
/** /**
* /file/configs/<configPath> 에서 받아 게임 폴더(.mc_custom) 루트에 그대로 푸는 zip * /file/config/<configPath> 에서 받아 게임 폴더(.mc_custom) 루트에 그대로 푸는 zip
* 파일 이름. 보통 zip 안에 `config/` 폴더를 담는다. 빈 문자열이면 받지 않는다. * 파일 이름. 보통 zip 안에 `config/` 폴더를 담는다. 빈 문자열이면 받지 않는다.
*/ */
configPath: string configPath: string