package and distribution macOS app outside the app store.

My problem is i want to build a native app for mac with my html,css,javascript based app.

I used nw.js to package the app for mac but there i get zip packed file as myapp.app

what i want is a package installer with updater for application.

steps i followed:-

  1. used nw.js and also used dependency nwjs-updater.
  2. packed it using build command and got zip package which contains the application as myapp.app.
  3. i used this myapp.app in packages tool to make a package installer with developer id certificate.

everything is working fine except the auto-updater of nwjs.

i want a solution or an alternate to package and distribute my app along with auto update.