megahertz / electron-simple-publisher

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

Support custom transport #17

Closed altjz closed 7 years ago

altjz commented 7 years ago

Hi, I really love the transport design, I used to write a lot scripts but now just a few config. Thanks for providing such awesome tool.

Many web cloud services besides AWS s3 provide sdk for node.js. And I know it is not possible to cover all transport services. So I wonder if electron-simple-publisher could support extend custom transport.

For example, I write a new transport JS file same as lib/transport/, then use it in publisher.json.

Furthermore, I could create a custom transport and make it a individual module, then other one just install this module and config it in publisher.json.

megahertz commented 7 years ago

Hi. You can set the transport.module option to: