fix(desktop): keep the installer below the update upload limit

This commit is contained in:
Yun Chan 2026-11-20 20:52:22 +09:00
parent bed83f7e34
commit d8898b8c74
7 changed files with 34 additions and 8 deletions

View file

@ -7,6 +7,8 @@ copyright: Copyright © 2026 D3RO
# 자동 감지가 실패하는 문제를 피하려고 명시적으로 버전 고정.
electronVersion: "43.8.10"
# 설치 크기 절감 — 지원 로케일만 포함한다
# 설치본 압축을 최대로 — 빌드는 느려지지만 업로드 한도(100MiB) 안에 들어야 한다
compression: maximum
electronLanguages:
- ko
- en-US
@ -24,6 +26,15 @@ files:
- "!node_modules/@ffmpeg-installer/**"
# better-sqlite3 13 은 모든 플랫폼의 Node-API 프리빌드를 싣는다 — 내지 않는 플랫폼(linux)은 뺀다
- "!node_modules/better-sqlite3/prebuilds/linux*"
# 런타임에 쓰지 않는 SQLite 소스(amalgamation) · C++ 소스
- "!node_modules/better-sqlite3/{deps,src}/**"
# 렌더러 전용 패키지 — Vite 가 out/renderer 번들에 이미 넣었다. 메인/프리로드는 require 하지 않는다
# (out/main · out/preload 의 require 목록으로 확인). Electron 43 으로 실행 파일이 47MB 커져
# 설치본이 Cloudflare 업로드 한도(100MiB)를 넘었기 때문에 중복 사본을 뺀다.
- "!node_modules/{lucide-react,react,react-dom,react-is,react-markdown,react-transition-group,hoist-non-react-statics}/**"
- "!node_modules/{@mui,@emotion,@popperjs,@babel,@rollup}/**"
- "!node_modules/{babel-plugin-macros,overlayscrollbars,overlayscrollbars-react,unified,vfile,vfile-message}/**"
- "!node_modules/{micromark,micromark-*,mdast-util-*,hast-util-*,remark-*,unist-util-*}/**"
# ────────────────────────────────────────────────────────────────────
# 자동 업데이트 feed — 이 설정이 있어야 electron-builder가