This is the code repository for Cross-platform Desktop Application Development: Electron, Node, NW.js, and React, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
Building and maintaining cross-platform desktop applications with native languages isn’t a trivial task. Since it’s hard to simulate on a foreign platform, packaging and distribution can be quite platform-specific and testing cross-platform apps is pretty complicated.In such scenarios, web technologies such as HTML5 and JavaScript can be your lifesaver. HTML5 desktop applications can be distributed across different platforms (Window, MacOS, and Linux) without any modifications to the code.
All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
{
"name": "file-explorer",
"version": "1.0.0",
"description": "",
"main": "main.js",
"scripts": {
"test": "echo "Error: no test specified" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}
To build and run the examples in this book, you need either Linux or macOS; you will also need npm/Node.js. At the time of writing, the author tested the examples with the following software:
- npm v.5.2.0
- node v.8.1.1
- Ubuntu 16.04 LTS, Windows 10, and macOS Sierra 10.12
-
Building ArcGIS Cross-Platform Applications with JavaScript [Video]
-
Xamarin 4.x Cross-Platform Application Development - Third Edition
-
C# 7 and .NET Core: Modern Cross-Platform Development - Second Edition
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.