fix(electron): resolve TypeScript errors in Electron build configuration
- Create separate Electron-specific capacitor config - Update build script to not copy main config to Electron directory - Fix TypeScript compilation by excluding main config from Electron tsconfig Resolves TypeScript compilation errors in npm run build:electron:dev
This commit is contained in:
@@ -181,7 +181,7 @@ sync_capacitor() {
|
||||
copy_web_assets() {
|
||||
log_info "Copying web assets to Electron"
|
||||
safe_execute "Copying assets" "cp -r dist/* electron/app/"
|
||||
safe_execute "Copying config" "cp capacitor.config.json electron/capacitor.config.json"
|
||||
# Note: Electron has its own capacitor.config.ts file, so we don't copy the main config
|
||||
}
|
||||
|
||||
# Compile TypeScript
|
||||
|
||||
Reference in New Issue
Block a user