Testing loading an HTML website in an electron web browser.
- Windows 10 OS
- NodeJS v14.18.3
The following libraries and frameworks are automatically downloaded and installed during installation.
- electron v18.2.0
- electron-builder v23.0.3
-
Clone this repository.
git clone https://github.com/weaponsforge/electroweb.git
-
Install dependencies.
npm install
Run the electron app.
Load the website for localhost development with hot reload (using webpack 5).
Pack the raw HTML website source for production distribution using webpack inside the /build
directory.
Package the electron app into an executable (.exe) file for Windows OS inside the /dist
directory.
Lint the JavaScript files.
Fix lint errors.
@weaponsforge
20220508