From ae771668de55e557a0e71d01e4702a097878f8cb Mon Sep 17 00:00:00 2001 From: claude-bot Date: Mon, 18 May 2026 18:14:42 +0900 Subject: [PATCH] installer-rp: ship installer/styles.css so packaged UI renders MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The rp installer's `index.html` references `../installer/styles.css`, which works in dev because both source directories sit side by side. The packaged exe's `files` list only included `installer-rp/**`, so inside the asar the stylesheet path resolved to nothing and the UI rendered completely unstyled (per user screenshot). Add the single shared file `installer/styles.css` to the rp build's file list. The cross-directory `` reference now resolves inside the asar, and we avoid duplicating the stylesheet. Bump to 0.1.1 — small patch-level fix. Co-Authored-By: Claude Opus 4.7 --- electron-builder-rp.yml | 4 ++++ package.json | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/electron-builder-rp.yml b/electron-builder-rp.yml index 68879da..0e3da7d 100644 --- a/electron-builder-rp.yml +++ b/electron-builder-rp.yml @@ -11,6 +11,10 @@ files: - dist/installer-rp/** - dist/shared/** - installer-rp/** + # rp 의 index.html 은 메인 설치기와 동일한 styles.css 를 공유함 + # (``). asar 안에 해당 파일이 없으면 + # UI 가 무스타일로 렌더링되므로 그 한 파일만 명시적으로 포함. + - installer/styles.css - build/icon.* - package.json # sharp 는 플랫폼별 prebuilt 가 분리 패키지로 배포됨. Windows 빌드에서는 diff --git a/package.json b/package.json index 6244452..a62d044 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "minecraft-music-quiz-installer", - "version": "0.1.0", + "version": "0.1.1", "description": "마인크래프트 음악퀴즈 간편설치기 + 관리 사이트", "main": "dist/installer/main.js", "scripts": {