A fork of electron-react-boilerplate with two additional features:
You can turn each window on or off by setting these boolean variables in main.ts to true or false:
const win1 = true;
const win2 = true;
const win3 = true;
Clone this repo and install dependencies:
git clone --depth 1 --branch main https://github.com/wds4/erb-sqlite3-multiWindows.git your-project-name
cd your-project-name
npm install
You MAY also need to do this to install sqlite3, which is a dependency in release/app/package.json, but not in package.json.
cd release/app
npm install sqlite3
npm run postinstall
cd ../..
Start the app in the dev
environment:
npm start
To package apps for the local platform:
npm run package
The packaged app can now be found in release/app/build.
For more packaging options, including packaging for other platforms and debugging production build with devtools, see erb packaging options.