-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: "Can't reconcile two non-macho files" due to new "PreGyp Copy" functionality in electron/rebuild integration #7519
Conversation
🦋 Changeset detectedLatest commit: fa92d64 The changes in this PR will be included in the next version bump. This PR includes changesets to release 8 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
✅ Deploy Preview for car-park-attendant-cleat-11576 ready!
To edit notification comments on pull requests, go to your Netlify site settings. |
log.info({ arch, version: frameworkInfo.version, appDir }, "executing @electron/rebuild") | ||
const rootPath = await searchModule.getProjectRootPath(appDir) | ||
const options: electronRebuild.RebuildOptions = { | ||
buildPath: appDir, | ||
electronVersion: frameworkInfo.version, | ||
arch, | ||
debug: log.isDebugEnabled, | ||
arch: Arch[arch], | ||
projectRootPath: rootPath, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also add a different cachePath
argument for different arch?
https://github.com/electron/rebuild/blob/main/src/types.ts#L10
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What for? Why can't the default cache be used?
…ebuild metadata and disable its pregyp cache
…r universal builds with native module (node-mac-permissions in this case)
…ate test snapshot
Fixes: #7512 7512