megahertz / electron-simple-publisher

Simple way to publish releases for electron-simple-updater
MIT License
67 stars 25 forks source link

add-assets-info.js update for OS X #11

Closed TimNZ closed 7 years ago

TimNZ commented 7 years ago

Changed:

  'darwin-x64': {
    dir: '',
    assets: {
      update: 'mac/{version}-mac.zip',
      install: '{version}.dmg',
      metaFile: null
    }
  },

to

  'darwin-x64': {
    dir: 'mac',
    assets: {
      update: '{version}-mac.zip',
      install: '{version}.dmg',
      metaFile: null
    }
  },
megahertz commented 7 years ago

The latest electron-builder creates dmg file in dist folder instead of dist/mac

TimNZ commented 7 years ago

Sorry. I was sure I was on the latest and am not. Will try later today and close issue once confirmed, though I doubt you are wrong :)

megahertz commented 7 years ago

It seems that builder has been updated again and now it contains different paths. I'll update it in a day.

TimNZ commented 7 years ago

Thanks so much. electron-builder is very handy, but the owner is poor at managing the project overall. Poor docs and regularly changing how things work.