fix(installer): 대용량 NSIS 크래시 해소 — Ollama GPU 런타임 가지치기 + oneClick 전환
Some checks failed
Build macOS / Build & Package (macOS) (push) Failing after 5s
Build macOS / Build & Package (macOS)-1 (push) Failing after 5s

- download-ollama.ps1: cuda_v11, cuda_v12, rocm_avx 런타임 삭제 (~1GB 절감)
  첫 실행 시 gemma4:e4b는 CPU로 충분. GPU 가속 필요 시 별도 Ollama 설치 또는 차기 빌드.
- electron-builder.yml nsis: oneClick=true로 전환 — oneClick=false+perMachine=false가
  System.dll 0xc0000005 유발하는 electron-builder 알려진 이슈(#7921) 회피.
This commit is contained in:
yunchan8804 2026-04-15 22:57:39 +09:00
parent 8e31b36337
commit 72144a4c2e
2 changed files with 18 additions and 6 deletions

View file

@ -104,15 +104,15 @@ extraResources:
- "**/*"
nsis:
oneClick: false
# oneClick=false + perMachine=false 조합이 System.dll 0xc0000005 크래시 사례(#7921).
# 사내 테스트 단계에선 oneClick=true로 전환하여 크래시 경로 회피.
oneClick: true
perMachine: false
allowToChangeInstallationDirectory: true
allowToChangeInstallationDirectory: false
createDesktopShortcut: true
createStartMenuShortcut: true
shortcutName: D3RO Voice
deleteAppDataOnUninstall: false
# include: build/installer.nsh
# NOTE: customInstall/customUnInstall 매크로가 NSIS System.dll 크래시를 유발한 사례 있어
# v0.1.0-alpha 단계에선 기본 electron-builder installer 사용. 안정화 후 재활성.
# installer.nsh 비활성화 유지 (System.dll 크래시 방지)
npmRebuild: true