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) { // 참가자 모드: 이전 설치 흐름에서 설치러가 풀어둔 맵이 있다면 제거한다.