A minimal Electron application with dart
# Clone this repository
git clone https://github.com/hayderux/electron-quick-start-dart
# Go into the repository
cd electron-quick-start-dart
#install flutter dependencies
pub get
# Install dependencies
npm install
# Run the app
npm run dev
To build for production, first run npm run build
.
The output directory, build
contains a package.json
pointing to the built
application, and can be run as follows:
cd build
npm install
npm start
The output directory's package manifest, build/package.json, includes electron-packager, and therefore can be packaged for distribution on Windows, MacOS, and Linux.
to build for the host platform run:
npm run build
To build for all platforms, run :
npm run package