LinusU / node-appdmg

💾 Generate your app dmgs
MIT License
1.67k stars 151 forks source link

hdiutil.js backoff exits too early for big dmg #202

Closed qrzbrz closed 2 years ago

qrzbrz commented 2 years ago

When building big disk images the latest change in hdiutil.js exits too early. It does an exponential backoff with (2**attempts) seconds, but only for 1,2,4,8,16 seconds. (as long as attempts < = 5). when the API is used inside a nodejs application the whole process exits prematurely if the disk image is large and cannot be compressed within 16s.

see also #142

qrzbrz commented 2 years ago

sorry, now I cannot reproduce it any more on my faster ssd device.