- Replace symlinks in .next/standalone with real copies for electron-builder - Exclude electron/, dist-electron/, scripts/, release/ from tsconfig - Use arm64 target instead of universal to avoid native module merge issues Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
29 lines
582 B
YAML
29 lines
582 B
YAML
appId: com.codepilot.app
|
|
productName: CodePilot
|
|
directories:
|
|
output: release
|
|
files:
|
|
- dist-electron/**/*
|
|
- .next/standalone/**/*
|
|
- .next/static/**/*
|
|
- public/**/*
|
|
extraResources:
|
|
- from: .next/standalone/
|
|
to: standalone/
|
|
filter: ["**/*"]
|
|
- from: .next/static/
|
|
to: standalone/.next/static/
|
|
filter: ["**/*"]
|
|
- from: public/
|
|
to: standalone/public/
|
|
filter: ["**/*"]
|
|
asarUnpack:
|
|
- "**/*.node"
|
|
- "**/better-sqlite3/**"
|
|
mac:
|
|
icon: build/icon.icns
|
|
category: public.app-category.developer-tools
|
|
target:
|
|
- target: dmg
|
|
arch: [arm64]
|