Add sleep to workaround "can't get disk" issue
Add sleep to workaround "can't get disk" issue

I've been repetitively encountering the issue mentioned in https://github.com/andreyvit/create-dmg/issues/43 , and after doing some experiments it looks like adding a sleep statement before running the applescript seems to largely remove the issue.
andreyvit/create-dmg,andreyvit/create-dmg,andreyvit/create-dmg