asticode / go-astilectron-bundler

Bundle your Astilectron app with ease
MIT License
129 stars 68 forks source link

Question. How can I zip output of the bundler? #76

Closed tpoxa closed 4 years ago

tpoxa commented 4 years ago

I am experiencing problems with .app extension in my CI, because its actually folder. I would like to zip .app application as soon as its built. Can I do it with the bundler? Do I need to use resources adapters?

Thanks in advance.

asticode commented 4 years ago

Why don't you zip the .app file as soon as the bundler is done in your CI workflow ?

tpoxa commented 4 years ago

Yes, I did. Just thought using bundler may be a good idea. Nevermind :) Thank you for great project!

tpoxa commented 4 years ago

Hello @asticode It's me again. Can you help me with saying how to make different names for appName and actual output file name? Thank you!

asticode commented 4 years ago

@tpoxa you can set a different AppName by using this attribute. This is global to a bundler.json file though.

You can't set the output file names. However they are predictible, so after the bundler is done, you can rename them however you like.

tpoxa commented 4 years ago

I see. Thanks for an update. In my project application name comes from user’s input. I thought it should be different levels of sanitizing input for filename and app name.