/electron-template

Electron JS template with reloader function

Primary LanguageTypeScript

Electron template

Uniqueness:

  • Custom auto-reloader
  • Config file with latest window state (position/size)

Paragraphs:

Getting started


Init Project:

git clone https://github.com/webshining/electron-template project-name
cd project-name
npm i
# Write npm i --platform=win32 for start from wsl in windows
npm start

Configuration


Config file:

Config file have 2 element with options:

  • DWindow - default window
  • LWindow - latest window