Nw.js merge the zipped app.nw file into the NW.js executable

441 views Asked by At

Is it possible to merge the zipped app.nw file into the NW.js executable on Mac platform. Certainly is possible on Linux and Windows but doesn't seem to be the case of Mac.

1

There are 1 answers

0
James Newton On
  • Download the build of NW.js for Mac OS X from GitHub
  • Unzip the downloaded file, to create a folder contain nwjs.app
  • Right-click on the nwjs.app and choose Show Package Contents from the contextual menu
  • Navigate to nwjs.app/Content/Resources
  • Place your app.nw file inside this Resources folder

merge app.nw with nwjs.app on Mac

  • Modify the file at nwjs.app/Content/Info.plist so that <key>CFBundleName</key> is associated with <string>NameOfYourChoice</string>. (This defines the name of the application menu.)
  • Rename the nwjs.app as NameOfYourChoice.app