installer-rp: ship installer/styles.css so packaged UI renders
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 `<link>` 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 <noreply@anthropic.com>
This commit is contained in:
@@ -11,6 +11,10 @@ files:
|
||||
- dist/installer-rp/**
|
||||
- dist/shared/**
|
||||
- installer-rp/**
|
||||
# rp 의 index.html 은 메인 설치기와 동일한 styles.css 를 공유함
|
||||
# (`<link href="../installer/styles.css">`). asar 안에 해당 파일이 없으면
|
||||
# UI 가 무스타일로 렌더링되므로 그 한 파일만 명시적으로 포함.
|
||||
- installer/styles.css
|
||||
- build/icon.*
|
||||
- package.json
|
||||
# sharp 는 플랫폼별 prebuilt 가 분리 패키지로 배포됨. Windows 빌드에서는
|
||||
|
||||
Reference in New Issue
Block a user