From f92dc028792fb2dcf23952c4ff879ae735eb60a5 Mon Sep 17 00:00:00 2001 From: claude-bot Date: Wed, 13 May 2026 10:18:11 +0900 Subject: [PATCH] =?UTF-8?q?installer:=204=EB=8B=A8=EA=B3=84=20sub43(?= =?UTF-8?q?=EC=99=84=EB=A3=8C=20=ED=99=95=EC=9D=B8)=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit sub42 에서 클라이언트 설치가 끝나면 그 자리의 "다음" 버튼이 바로 5단계로 넘어가도록 변경. 중복적이던 sub43 의 i18n 키와 renderSubStep43 함수도 함께 삭제. Co-Authored-By: Claude Opus 4.7 --- installer/renderer.js | 20 ++++---------------- locales/installer/ko-kr.json | 5 ----- 2 files changed, 4 insertions(+), 21 deletions(-) diff --git a/installer/renderer.js b/installer/renderer.js index 7e65d59..55c5129 100644 --- a/installer/renderer.js +++ b/installer/renderer.js @@ -584,13 +584,10 @@ function renderStep4() { function backToPrevStep() { if (state.mode === 'multi') renderStep3(); else renderStep2() } function show41() { subHost.innerHTML = ''; renderSubStep41(subHost, pack, backToPrevStep, show42) } - function show42() { subHost.innerHTML = ''; renderSubStep42(subHost, show41, show43) } - function show43() { - subHost.innerHTML = '' - renderSubStep43(subHost, show42, function () { - state.stepDone[4] = true - renderStep5() - }) + function show42() { subHost.innerHTML = ''; renderSubStep42(subHost, show41, goStep5) } + function goStep5() { + state.stepDone[4] = true + renderStep5() } show41() } @@ -681,15 +678,6 @@ function renderSubStep42(host, back, done) { })() } -function renderSubStep43(host, back, done) { - host.innerHTML = - '

' + tt('step4.sub43.heading') + '

' + - '

' + tt('step4.sub43.description') + '

' + - '
' - host.querySelector('#back').addEventListener('click', back) - host.querySelector('#next').addEventListener('click', done) -} - function renderStep5() { setActiveStep(5) clearPage() diff --git a/locales/installer/ko-kr.json b/locales/installer/ko-kr.json index 1ab4acd..3d3c08e 100644 --- a/locales/installer/ko-kr.json +++ b/locales/installer/ko-kr.json @@ -133,11 +133,6 @@ "installing": "설치 중...", "done": "클라이언트 설치 완료.", "failed": "설치 실패: {{message}}" - }, - "sub43": { - "heading": "완료 확인", - "description": "모드와 리소스팩이 .mc_custom에 설치되어 있고, launcher_profiles.json도 갱신되었습니다.", - "goStep5": "5단계로" } }, "step5": {