electron-userland / electron-installer-dmg

Create DMG installers for your electron apps using appdmg.

Home Page:https://github.com/electron-userland/electron-installer-dmg

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DSStore-clean error

heymartinadams opened this issue · comments

Receiving this error when running electron-installer-dmg. Using v0.2.1.

{ Error: ENOENT: no such file or directory, open '/Users/username/Apps/MyApp/node_modules/ds-store/assets/DSStore-clean'
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/username/Apps/MyApp/node_modules/ds-store/assets/DSStore-clean' }

Also, I run a .DS_Store clean program each time before building: find . -name '.DS_Store' -type f -delete Created a build without running it, yet the installer produced the same error.

Ouch, that clean procedure probably removes the DSStore-clean file. Once I copy the DSStore-clean file back in there, the installer worked.