feat: 런처/게임 분리 배포 구조 적용
All checks were successful
Client CI/CD / deploy (push) Successful in 12s

- 런처 미설치 시 launcher.exe만 다운로드 (게임 전체 zip 아님)
- 관리자 페이지에 런처/게임 별도 업로드 섹션 분리
- 힌트 문구 업데이트

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-24 23:34:17 +09:00
parent eb579ded5c
commit 7e4e5a1801
4 changed files with 116 additions and 55 deletions

View File

@@ -33,11 +33,11 @@ export default function DownloadSection() {
setTimeout(() => {
window.removeEventListener('blur', onBlur);
setLaunching(false);
if (!launched && info?.url) {
// 런처 미설치 → 자동 다운로드
if (!launched && info?.launcherUrl) {
// 런처 미설치 → launcher.exe 다운로드
const a = document.createElement('a');
a.href = info.url;
a.download = '';
a.href = info.launcherUrl;
a.download = 'launcher.exe';
a.click();
}
}, 2000);
@@ -58,7 +58,7 @@ export default function DownloadSection() {
{launching ? '실행 중...' : '게임 시작'}
</button>
<p className="launch-hint">
설치하는 경우 자동으로 다운로드됩니다
설치 자동으로 다운로드됩니다. 설치 다시 클릭하세요.
</p>
</>
) : (