O'Reilly logo

Cross-platform Desktop Application Development: Electron, Node, NW.js, and React by Dmitry Sheiko

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Setting up the development environment

We will create this application with NW.js. As you may remember from Chapter 1, Creating a File Explorer with NW.js - Planning, Designing, and Development and Chapter 2, Creating a File Explorer with NW.js – Enhancement and Delivery, NW.js looks up the manifest file for the start page link and application window meta information:

./package.json

{   "name": "screen-capturer",   "version": "1.0.0",   "description": "Screen Capturer",   "main": "index.html",     "chromium-args": "--mixed-context",   "window": {     "show": true,     "frame": false,     "width": 580,     "height": 320,     "min_width": 450,     "min_height": 320,     "position": "center",     "resizable": true,     "icon": "./assets/icon-48x48.png"   }   } 

This time, we do ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required