You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My working theory is that packageSpinner is one variable, the afterCopyHooks are called twice, once with each architecture, so first time it's assigned, second time it's overwritten, then only the second one gets cleared.
I'm going to try and make a PR soon.
The text was updated successfully, but these errors were encountered:
Pre-flight checklist
Electron Forge version
6.0.0-beta.68
Electron version
20.3.0
Operating system
macOS 12.6
Last known working Electron Forge version
No response
Expected behavior
Note there's a console.log I added in, more info in additional info:
If I run with one target
npm run package staging -- --arch=arm64
The process finishes and ends with an exit code.
Actual behavior
Note there's a console.log I added, more info in additional info:
When I run with two targets
npm run package staging -- --arch=arm64,x64
The process hangs with
Steps to reproduce
npx create-electron-app@latest my-app
npm run package -- --arch=arm64,x64
Additional information
The console logs have one extra line
Inserted here: https://github.com/electron-userland/electron-forge/blob/a8b9dfc5c19b6a0021d56ca8319a69903e457b04/packages/api/core/src/api/package.ts#L126
(the line above the packageSpinner assign)
My working theory is that packageSpinner is one variable, the
afterCopyHooks
are called twice, once with each architecture, so first time it's assigned, second time it's overwritten, then only the second one gets cleared.I'm going to try and make a PR soon.
The text was updated successfully, but these errors were encountered: