From 3c404ecd8c5a27c2462d53941079d08f5260addf Mon Sep 17 00:00:00 2001 From: claude-bot Date: Mon, 27 Jul 2026 00:25:10 +0900 Subject: [PATCH] =?UTF-8?q?feat(installer):=20=EC=B5=9C=EC=A2=85=20?= =?UTF-8?q?=EB=A6=AC=EC=86=8C=EC=8A=A4=ED=8C=A9=20=EB=93=B1=EB=A1=9D=20?= =?UTF-8?q?=EC=8B=9C=20=EB=B2=A0=EC=9D=B4=EC=8A=A4=20=EB=A6=AC=EC=86=8C?= =?UTF-8?q?=EC=8A=A4=ED=8C=A9=20=EB=8B=A4=EC=9A=B4=EB=A1=9C=EB=93=9C=20?= =?UTF-8?q?=EC=83=9D=EB=9E=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 최종 리소스팩(finalResourcepackPath !== ".")이 등록돼 있으면 완성본을 설치 마지막에 따로 받으므로, 클라이언트 설치 단계에서 베이스 리소스팩 다운로드를 건너뛴다 ("등록한 최종 리소스팩만 다운로드"). 최종 리소스팩이 "."(없음)이면 기존대로 베이스를 받는다. 0.4.18→0.4.19. Co-Authored-By: Claude Opus 4.7 --- locales/installer/ko-kr.json | 1 + package.json | 2 +- src/installer/main.ts | 8 +++++++- 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/locales/installer/ko-kr.json b/locales/installer/ko-kr.json index bb3cda1..c2d1c78 100644 --- a/locales/installer/ko-kr.json +++ b/locales/installer/ko-kr.json @@ -241,6 +241,7 @@ "modDownload": "모드 다운로드: {{file}}", "skipResourcepack": "resourcepackPath가 비어 있어 리소스팩 다운로드를 건너뜁니다.", "resourcepackDownload": "리소스팩 다운로드: {{url}}", + "skipBaseForFinal": "최종 리소스팩이 등록돼 있어 베이스 리소스팩은 건너뜁니다(설치 마지막에 최종 리소스팩만 받음).", "finalResourcepackDownload": "최종 리소스팩 다운로드: {{url}}", "finalResourcepackSaved": "최종 리소스팩 저장: {{path}}", "serverInstallPath": "서버 설치 경로: {{path}}", diff --git a/package.json b/package.json index f66341c..c2feee1 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minecraft-music-quiz-installer", - "version": "0.4.18", + "version": "0.4.19", "description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트", "main": "dist/installer/main.js", "scripts": { diff --git a/src/installer/main.ts b/src/installer/main.ts index f0076cc..7ad4023 100644 --- a/src/installer/main.ts +++ b/src/installer/main.ts @@ -1352,7 +1352,13 @@ ipcMain.handle('client:install', async (_event, payload: ClientInstallPayload) = } await downloadModsFolder(pack.pack, customRoot) - await downloadResourcepackZip(pack.pack, customRoot) + // 최종 리소스팩이 등록돼 있으면(finalResourcepackPath !== "."), 완성본을 설치 마지막에 + // 따로 받으므로 베이스 리소스팩은 받지 않는다("최종 리소스팩만 다운로드"). + if (pack.pack.finalResourcepackPath && pack.pack.finalResourcepackPath !== '.') { + sendLog(t('log.skipBaseForFinal')) + } else { + await downloadResourcepackZip(pack.pack, customRoot) + } if (payload.skipMap) { // 참가자 모드: 이전 설치 흐름에서 설치러가 풀어둔 맵이 있다면 제거한다.