TL;DR: Can node-appdmg expose an option similar to --disk-img-size of create-dmg ??
Please see below.
Issue Details
Electron Forge Version:
6.0.0-beta.53
Electron Version:
Operating System:
macOS 10.15.7
Last Known Working Electron Forge version::
N/A
Expected Behavior
I'd love to insert custom data into the app folder and have them included into the DMG and show up in the mounted folder.
Actual Behavior
Trying to insert additional data into the output app folder and include it into the DMG, but after firing up a maker process, I saw a size calculation error that breaks the build
Making for the following targets: dmg
✖ Making for target: dmg - On platform: darwin - For arch: x64
An unhandled error has occurred inside Forge:
An error occured while making for target: dmg
Command failed: hdiutil create /var/folders/5j/ybqw096s7c162l_lgby0plw00000gn/T/N8YZNXR.dmg -ov -fs HFS+ -size 7313m -volname MAM-Hub
hdiutil: create failed - No space left on device
the size argument is incorrect and after digging into the source code of electron-forge, I found that this size is calculated internally and the hdiutil-size argument is not exposed.
To Reproduce
Create an Electron app and build it with electron-forge;
Add a folder of data, in my case, another dependency PKG installer and its own supporting data, into the output folder;
I'm forwarding a problem I had when I build DMG with
electron-forge
, which is said to be an appdmg limitation.TL;DR: Can node-appdmg expose an option similar to
--disk-img-size
of create-dmg ??Please see below.
Issue Details
Expected Behavior
I'd love to insert custom data into the app folder and have them included into the DMG and show up in the mounted folder.
Actual Behavior
Trying to insert additional data into the output app folder and include it into the DMG, but after firing up a maker process, I saw a size calculation error that breaks the build
the size argument is incorrect and after digging into the source code of electron-forge, I found that this size is calculated internally and the
hdiutil
-size
argument is not exposed.To Reproduce
electron-forge
;You should see the similar error above.
Additional Information
Here is my
package.json