Skip to content

feat: support x64/arm64 macOS builds and fix build script errors#7

Merged
op7418 merged 1 commit intoop7418:mainfrom
Angelahanshuang:fix/build-multi-arch
Feb 7, 2026
Merged

feat: support x64/arm64 macOS builds and fix build script errors#7
op7418 merged 1 commit intoop7418:mainfrom
Angelahanshuang:fix/build-multi-arch

Conversation

@Angelahanshuang
Copy link
Contributor

This PR introduces several improvements to the build process to support both Intel (x64) and Apple Silicon (arm64) macOS users.

Changes:

  • Build Configuration: Updated electron-builder.yml to include x64 in the macOS target architectures.
  • Build Script Fix: Modified build-electron.mjs to use fs.rmSync with { recursive: true, force: true }. This fixes an ERR_FS_EISDIR error when handling directory symlinks during the standalone build process.
  • Lint Configuration: Added release/ and dist-electron/ to eslint.config.mjs to prevent ESLint from scanning minified build artifacts.
  • Lockfile Cleanup: Standardized the project name in package-lock.json to codepilot.

Verification:

  • Successfully built .dmg packages for both x64 and arm64 architectures.
  • Verified binary architectures using the file command.

@zlc000190
Copy link

求速合并,我就是 x86 intel的mac

@op7418 op7418 merged commit f870b5d into op7418:main Feb 7, 2026
@Angelahanshuang Angelahanshuang deleted the fix/build-multi-arch branch February 9, 2026 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants