installer: 4단계 sub43(완료 확인) 화면 제거
sub42 에서 클라이언트 설치가 끝나면 그 자리의 "다음" 버튼이 바로 5단계로 넘어가도록 변경. 중복적이던 sub43 의 i18n 키와 renderSubStep43 함수도 함께 삭제. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -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 () {
|
||||
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 =
|
||||
'<h3>' + tt('step4.sub43.heading') + '</h3>' +
|
||||
'<p class="formMessage">' + tt('step4.sub43.description') + '</p>' +
|
||||
'<div class="actionRow"><button class="secondaryBtn" id="back">' + tt('common.back') + '</button><button class="primaryBtn" id="next">' + tt('step4.sub43.goStep5') + '</button></div>'
|
||||
host.querySelector('#back').addEventListener('click', back)
|
||||
host.querySelector('#next').addEventListener('click', done)
|
||||
}
|
||||
|
||||
function renderStep5() {
|
||||
setActiveStep(5)
|
||||
clearPage()
|
||||
|
||||
@@ -133,11 +133,6 @@
|
||||
"installing": "설치 중...",
|
||||
"done": "클라이언트 설치 완료.",
|
||||
"failed": "설치 실패: {{message}}"
|
||||
},
|
||||
"sub43": {
|
||||
"heading": "완료 확인",
|
||||
"description": "모드와 리소스팩이 .mc_custom에 설치되어 있고, launcher_profiles.json도 갱신되었습니다.",
|
||||
"goStep5": "5단계로"
|
||||
}
|
||||
},
|
||||
"step5": {
|
||||
|
||||
Reference in New Issue
Block a user