If the base resourcepack already has audio files under assets/musicquiz/sounds/ or entries in assets/musicquiz/sounds.json, the build now PRESERVES them and skips any new track that would collide. Same policy for painting textures: existing cover_*.png in the base are not overwritten by new ones. Per-track collision is logged so the user can see exactly what was preserved and what was skipped. Summary counts (added / skipped) are also logged. Requested by 사금향: "기존에 있는걸 삭제하거나 이상하게 엎어쓰지 말것" — preserve base assets unconditionally.
40 lines
1.6 KiB
JSON
40 lines
1.6 KiB
JSON
{
|
|
"name": "minecraft-music-quiz-installer",
|
|
"version": "0.3.5",
|
|
"description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트",
|
|
"main": "dist/installer/main.js",
|
|
"scripts": {
|
|
"build": "tsc -p tsconfig.json",
|
|
"start": "tsc -p tsconfig.server.json && node dist/server/app.js",
|
|
"dev:server": "tsc -p tsconfig.server.json && node dist/server/app.js",
|
|
"installer": "tsc -p tsconfig.installer.json && electron .",
|
|
"installer:rp": "tsc -p tsconfig.installer-rp.json && electron dist/installer-rp/main.js",
|
|
"preinstall:sharp-win32": "npm install --no-save --force @img/sharp-win32-x64@0.34.5",
|
|
"build:launcher-icon": "node scripts/build-launcher-icon.cjs",
|
|
"dist:win": "npm run preinstall:sharp-win32 && npm run build:launcher-icon && tsc -p tsconfig.installer.json && electron-builder --win --config electron-builder.yml",
|
|
"dist:win:rp": "npm run preinstall:sharp-win32 && tsc -p tsconfig.installer-rp.json && electron-builder --win --config electron-builder-rp.yml"
|
|
},
|
|
"dependencies": {
|
|
"@types/archiver": "^7.0.0",
|
|
"archiver": "^7.0.1",
|
|
"dotenv": "^17.4.2",
|
|
"ejs": "^3.1.10",
|
|
"express": "^4.19.2",
|
|
"express-session": "^1.18.0",
|
|
"extract-zip": "^2.0.1",
|
|
"multer": "^1.4.5-lts.1",
|
|
"nat-upnp": "^1.1.1",
|
|
"sharp": "^0.34.5"
|
|
},
|
|
"devDependencies": {
|
|
"@types/ejs": "^3.1.5",
|
|
"@types/express": "^4.17.21",
|
|
"@types/express-session": "^1.18.0",
|
|
"@types/multer": "^1.4.11",
|
|
"@types/node": "^22.5.0",
|
|
"electron": "^31.4.0",
|
|
"electron-builder": "^24.13.3",
|
|
"typescript": "^5.5.4"
|
|
}
|
|
}
|