appId: com.d3ro.voice productName: D3RO Voice copyright: Copyright © 2026 D3RO directories: buildResources: resources output: release/${version} files: - out/**/* - "!out/**/*.map" # native 모듈은 asar 외부에 배치 asarUnpack: - "node_modules/better-sqlite3/**" - "node_modules/uiohook-napi/**" - "node_modules/@nut-tree-fork/**" win: target: - target: nsis arch: - x64 icon: resources/icons/icon.ico nsis: oneClick: false perMachine: false allowToChangeInstallationDirectory: true createDesktopShortcut: true createStartMenuShortcut: true shortcutName: D3RO Voice deleteAppDataOnUninstall: false # 번들 리소스 (앱 외부, resources/ 디렉토리에 배치) extraResources: # SoX Windows 바이너리 (~5MB) - from: resources/sox/ to: sox/ filter: - "**/*" # Python sidecar (PyInstaller 빌드 결과, ~200MB) # 빌드 전: python scripts/build-sidecar.py - from: sidecar-dist/sidecar/ to: sidecar/ filter: - "**/*" # 효과음 파일 - from: resources/sounds/ to: sounds/ filter: - "*.wav" # 앱 아이콘 - from: resources/icons/ to: icons/ filter: - "**/*" npmRebuild: true