:zap: NW.js starter project powered by Gulp. :zap:
This is a sample project to get you up and running with NW.js.
If you need help, read my tutorial here. This is a screenshot of the app that the tutorial guides you through, Klout:
What doesn't work:
Not done yet: * Windows binary signing
# install gulp npm install -g gulp
gulpfileto create the Windows installer.
gulpfileto create the Linux installers.
Quickly install this on OS X:
brew install wine makensis sudo gem install fpm
The output is in
./dist. Take a look at
gulpfile.coffeefor additional tasks.
--toolbarparameter to quickly build the app with the toolbar on. E.g.
gulp build:win32 --toolbar.
gulp build:win32 --noiconto quickly build the Windows app without the icon, which normally takes some seconds.
For OS X, use the
run:osx64task to build the app and run it immediately.
Use these to create the .tiff images for the OS X menu bar:
$ tiffutil -cathidpicheck icon_menubar.png [email protected] -out icon_menubar.tiff $ tiffutil -cathidpicheck icon_menubar_alert.png [email protected] -out icon_menubar_alert.tiff
Contributions are welcome! For feature requests and bug reports please submit an issue.
The MIT License (MIT)
Copyright (c) 2015 Alexandru Rosianu
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.