Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 9e9eae0920 | |||
| 082dae5a90 | |||
| 7508f3b11b | |||
| bed47e88a0 |
@@ -117,7 +117,7 @@
|
|||||||
"platformDownloadUrl": "플랫폼 설치파일 URL",
|
"platformDownloadUrl": "플랫폼 설치파일 URL",
|
||||||
"platformDownloadHint": "도메인 없이 입력하면 manifest.json 도메인의 <code>/file/platforms/<파일명></code>으로 해석됩니다.",
|
"platformDownloadHint": "도메인 없이 입력하면 manifest.json 도메인의 <code>/file/platforms/<파일명></code>으로 해석됩니다.",
|
||||||
"platformLoaderVersion": "Fabric Loader 버전",
|
"platformLoaderVersion": "Fabric Loader 버전",
|
||||||
"platformLoaderHint": "선택한 마인크래프트 버전 기준 Fabric Loader 목록입니다. 설치기는 최신 fabric-installer 를 받아 자동으로 CLI 설치합니다.",
|
"platformLoaderHint": "선택한 마인크래프트 버전 기준 Fabric Loader 목록입니다. 설치기는 자바 없이 Fabric Meta 의 프로필 JSON 을 받아 .minecraft/versions 에 직접 저장합니다.",
|
||||||
"platformLoaderEmpty": "호환 로더 없음",
|
"platformLoaderEmpty": "호환 로더 없음",
|
||||||
"platformLoaderPickMc": "마인크래프트 버전을 먼저 선택하세요",
|
"platformLoaderPickMc": "마인크래프트 버전을 먼저 선택하세요",
|
||||||
"platformLoaderLoadFailed": "로더 목록 로드 실패: {{message}}",
|
"platformLoaderLoadFailed": "로더 목록 로드 실패: {{message}}",
|
||||||
@@ -135,7 +135,7 @@
|
|||||||
"mapPath": "맵 파일 (.zip)",
|
"mapPath": "맵 파일 (.zip)",
|
||||||
"mapPathHint": "/file/maps/ 아래 zip 파일 이름.",
|
"mapPathHint": "/file/maps/ 아래 zip 파일 이름.",
|
||||||
"configPath": "config 파일 (.zip)",
|
"configPath": "config 파일 (.zip)",
|
||||||
"configPathHint": "/file/configs/ 아래 zip 파일 이름. 게임 폴더 루트에 그대로 풀립니다(보통 zip 안에 config/ 폴더).",
|
"configPathHint": "/file/config/ 아래 zip 파일 이름. 게임 폴더 루트에 그대로 풀립니다(보통 zip 안에 config/ 폴더).",
|
||||||
"serverPath": "서버 파일 (.zip)",
|
"serverPath": "서버 파일 (.zip)",
|
||||||
"serverPathHint": "/file/servers/ 아래 zip 파일 이름. 멀티 모드 전용.",
|
"serverPathHint": "/file/servers/ 아래 zip 파일 이름. 멀티 모드 전용.",
|
||||||
"modsFolder": "모드 폴더 이름",
|
"modsFolder": "모드 폴더 이름",
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "minecraft-music-quiz-installer",
|
"name": "minecraft-music-quiz-installer",
|
||||||
"version": "0.4.27",
|
"version": "0.4.29",
|
||||||
"description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트",
|
"description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트",
|
||||||
"main": "dist/installer/main.js",
|
"main": "dist/installer/main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|||||||
@@ -152,7 +152,7 @@ function fetchBuffer(url: string, redirects = 0, attempt = 0): Promise<Buffer> {
|
|||||||
}
|
}
|
||||||
if (code >= 400) {
|
if (code >= 400) {
|
||||||
response.resume()
|
response.resume()
|
||||||
reject(new Error(`HTTP ${code}`))
|
reject(new Error(`HTTP ${code}: ${url}`))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const chunks: Buffer[] = []
|
const chunks: Buffer[] = []
|
||||||
@@ -627,7 +627,7 @@ function downloadStream(
|
|||||||
res.resume()
|
res.resume()
|
||||||
fileStream.close(() => {
|
fileStream.close(() => {
|
||||||
signal.removeEventListener('abort', onAbort)
|
signal.removeEventListener('abort', onAbort)
|
||||||
if (!settled) { settled = true; reject(new Error(`HTTP ${sc}`)) }
|
if (!settled) { settled = true; reject(new Error(`HTTP ${sc}: ${url}`)) }
|
||||||
})
|
})
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@@ -775,7 +775,7 @@ async function downloadConfigZip(pack: PackDefinition, customRoot: string): Prom
|
|||||||
sendLog(t('log.skipConfigZip'))
|
sendLog(t('log.skipConfigZip'))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
const url = resolveManifestRelative(pack.configPath, 'configs')
|
const url = resolveManifestRelative(pack.configPath, 'config')
|
||||||
await downloadAndExtractZip(url, t('log.labelConfigFile'), customRoot)
|
await downloadAndExtractZip(url, t('log.labelConfigFile'), customRoot)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ export interface PackDefinition {
|
|||||||
/** /file/maps/<mapPath> 에서 받아 .mc_custom/saves 로 풀 zip 파일 이름. */
|
/** /file/maps/<mapPath> 에서 받아 .mc_custom/saves 로 풀 zip 파일 이름. */
|
||||||
mapPath: string
|
mapPath: string
|
||||||
/**
|
/**
|
||||||
* /file/configs/<configPath> 에서 받아 게임 폴더(.mc_custom) 루트에 그대로 푸는 zip
|
* /file/config/<configPath> 에서 받아 게임 폴더(.mc_custom) 루트에 그대로 푸는 zip
|
||||||
* 파일 이름. 보통 zip 안에 `config/` 폴더를 담는다. 빈 문자열이면 받지 않는다.
|
* 파일 이름. 보통 zip 안에 `config/` 폴더를 담는다. 빈 문자열이면 받지 않는다.
|
||||||
*/
|
*/
|
||||||
configPath: string
|
configPath: string
|
||||||
|
|||||||
Reference in New Issue
Block a user