diff --git a/locales/server/ko-kr.json b/locales/server/ko-kr.json index 8631c72..a3a6972 100644 --- a/locales/server/ko-kr.json +++ b/locales/server/ko-kr.json @@ -128,7 +128,7 @@ "resourcepackHint": "/file/resourcepacks/ 아래 .zip 파일 이름. 리소스팩 설치기가 이 zip 위에 음악·사진을 얹어 최종 리소스팩을 만듭니다. 비워두면 처음부터 새로 만듭니다.", "outputPackName": "생성되는 리소스팩 이름", "outputPackNamePlaceholder": "예: 음악퀴즈 테스트팩", - "outputPackNameHint": "리소스팩 설치기가 만들어 내는 zip 파일 이름이자, 마인크래프트 리소스팩 목록의 제목이 됩니다. 비워두면 파일이름_musicquiz 형태로 자동 지정됩니다. Windows 파일명 금지 문자(\\ / : * ? \" < > |)는 자동으로 _ 로 바뀝니다.", + "outputPackNameHint": "리소스팩 설치기가 만들어 내는 zip 파일 이름이자, 마인크래프트 리소스팩 목록의 제목이 됩니다. 비워두면 파일이름_resourcepack 형태로 자동 지정됩니다. Windows 파일명 금지 문자(\\ / : * ? \" < > |)는 자동으로 _ 로 바뀝니다.", "ramOrderInvalid": "클라이언트 최소 램은 권장 램보다 클 수 없습니다.", "fabricLoaderRequired": "Fabric 로더 버전을 선택해 주세요." }, diff --git a/package.json b/package.json index 7292cb5..cc01ee2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minecraft-music-quiz-installer", - "version": "0.2.0", + "version": "0.2.1", "description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트", "main": "dist/installer/main.js", "scripts": { diff --git a/src/installer-rp/main.ts b/src/installer-rp/main.ts index ecc493e..a66c10c 100644 --- a/src/installer-rp/main.ts +++ b/src/installer-rp/main.ts @@ -400,9 +400,9 @@ ipcMain.handle('rp:install:start', async (): Promise<{ resourcepackPath: string // 2-5. 리소스팩 zip 빌드 (pack.mcmeta + sounds.json + 음악·이미지, 베이스 위에 얹기) throwIfCancelled() // 사이트에서 지정한 "생성되는 리소스팩 이름" 을 우선 사용. 비어있거나 sanitize - // 결과가 빈 문자열이면 `_musicquiz` 로 폴백. + // 결과가 빈 문자열이면 `_resourcepack` 로 폴백. const sanitizedOutputName = sanitizeOutputPackName(pack.outputPackName) - const resourcepackBaseName = sanitizedOutputName || `${state.selectedKey}_musicquiz` + const resourcepackBaseName = sanitizedOutputName || `${state.selectedKey}_resourcepack` const resourcepackName = `${resourcepackBaseName}.zip` const resourcepackDir = path.join(getMcCustomDir(), 'resourcepacks') const resourcepackPath = path.join(resourcepackDir, resourcepackName) diff --git a/src/installer-rp/types.ts b/src/installer-rp/types.ts index 07129bf..f9cfef3 100644 --- a/src/installer-rp/types.ts +++ b/src/installer-rp/types.ts @@ -12,7 +12,7 @@ export interface RpFetchedPack { resourcepackPath: string /** * /manifest/.json 의 outputPackName. 관리 사이트에서 설정한 "생성되는 - * 리소스팩 이름". 비어 있으면 설치기가 `_musicquiz` 형식으로 폴백. + * 리소스팩 이름". 비어 있으면 설치기가 `_resourcepack` 형식으로 폴백. * 파일명으로 쓰기 전에 Windows 금지 문자(\<\>:"/\\|?*) 는 `_` 로 치환. */ outputPackName: string diff --git a/src/shared/types.ts b/src/shared/types.ts index 39b6abc..d8e62c3 100644 --- a/src/shared/types.ts +++ b/src/shared/types.ts @@ -18,7 +18,7 @@ export interface PackDefinition { resourcepackPath: string /** * 리소스팩 설치기가 만들어 내는 최종 zip 파일의 이름(확장자 제외). - * 빈 문자열이면 설치기가 `_musicquiz` 형식으로 기본 이름을 만든다. + * 빈 문자열이면 설치기가 `_resourcepack` 형식으로 기본 이름을 만든다. * 마인크래프트 리소스팩 목록에서 사용자에게 제목처럼 보이는 값이므로 * 한글 등 자유 입력을 그대로 보존하고, 파일 시스템에서 사용할 때 금지 문자만 * `_` 로 치환한다(치환 책임은 설치기 측에 있음).