appId: kr.tkrmagid.musicquiz.uninstall productName: 음악퀴즈 파일제거 # 루트 package.json 의 "main" 은 메인 설치기를 가리키므로, 패키지된 앱이 # 파일제거 도구를 진입점으로 쓰도록 빌드 시 main 을 덮어쓴다. extraMetadata: main: dist/installer-uninstall/main.js directories: output: release buildResources: build files: - dist/installer-uninstall/** - dist/shared/** - installer-uninstall/** # index.html 은 메인 설치기와 동일한 styles.css 를 공유함 # (``). 그 한 파일만 명시적으로 포함. - installer/styles.css - build/icon.* - package.json # 이 도구는 sharp(이미지 처리)를 쓰지 않으므로 통째로 제외해 exe 크기를 줄인다. - "!node_modules/sharp/**" - "!node_modules/@img/**" # MC_CUSTOM_DIR 을 커스텀으로 빌드했다면 파일제거기도 같은 폴더를 가리켜야 하므로 # `.env.build` 를 함께 배포한다. i18n 사전(locales/installer-uninstall/ko-kr.json)도 함께. extraResources: - from: . to: . filter: - .env.build - from: locales to: locales filter: - "**/*" win: target: portable artifactName: 음악퀴즈 파일제거-${version}.${ext} icon: build/icon.ico portable: artifactName: 음악퀴즈 파일제거-${version}.${ext}