Robot js requires some special binary setup octalmage/robotjs#466 npm i robotjs npm i -D electron-rebuild npm install -g node-gyp npx electron-rebuild -f -t prod,optional,dev -w robotjs
NOTE: This package is tightly coupled to the version of node and electron This might be a source of issue down the road "node-83" => node v14.15.4 "electron-85" => 11.1.1
In ./src/package.json "iohook": { "targets": [ "node-83", "electron-85" ], "platforms": [ "win32", "darwin", "linux" ], "arches": [ "x64" ] }
Electron React Boilerplate uses Electron, React, React Router, Webpack and React Fast Refresh.
- If you have installation or compilation issues with this project, please see our debugging guide
First, clone the repo via git and install dependencies:
git clone --depth 1 --single-branch https://github.com/electron-react-boilerplate/electron-react-boilerplate.git your-project-name
cd your-project-name
yarn
Start the app in the dev
environment:
yarn start
To package apps for the local platform:
yarn package
See our docs and guides here
Donations will ensure the following:
- 🔨 Long term maintenance of the project
- 🛣 Progress on the roadmap
- 🐛 Quick responses to bug reports and help requests
Support us with a monthly donation and help us continue our activities. [Become a backer]
Become a sponsor and get your logo on our README on Github with a link to your site. [Become a sponsor]