In the project directory, you can run:
npm run electron-dev
Runs the electron app in the development mode.
The Electron app will open automatically.
Note: Linux users if you're getting an error it's likely you need to follow this issue
The app will reload if you make edits.
You will also see any lint errors in the console.
npm run electron-pack
Will be added soon (via electron-builder
)
For adding environment variables, you can create a copy of the .env.example
file,
rename it to .env and then add your own variables. Will add support for multiple .env files soon
Todos: