Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
π Increase number of tries when unmounting (#214)
When creating a DMG with electron-installer-dmg and electron-builder, I encountered the following error due to timeout waiting for volume detach to be successful. By increasing the attempts from 5 to 8, the build is successful. The build is done using macOS Monterey (12.6) with Apple M1 Max. Maybe 10 is a better number for older Mac? at makeError (/.../node_modules/execa/index.js:174:9) at /.../node_modules/execa/index.js:278:16 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) { code: 16, stdout: '', stderr: `hdiutil: couldn't unmount "disk6" - Resource busy\n`, failed: true, signal: null, cmd: 'hdiutil detach /Volumes/MyProjectName, timedOut: false, killed: false }
- Loading branch information