Skip to content

Latest commit

 

History

History
46 lines (35 loc) · 899 Bytes

README.md

File metadata and controls

46 lines (35 loc) · 899 Bytes

electron-quick-start-dart

A minimal Electron application with dart

Screenshot

To Use

# 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

Release

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

Package

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