使用Electron创建应用程序的样板
Boilerplate to kickstart creating an app with Electron
JavaScript 脚手架/样板
共1455Star
详细介绍
electron-boilerplate
Boilerplate to kickstart creating an app with Electron
See awesome-electron for more useful Electron resources.
See Caprine for a production app based on this boilerplate.
Features
electron-builder
fully set up to create cross-platform builds- Builds the app on Travis
- Silent auto-updates
- App menu that adheres to the system user interface guidelines
- Config handling
- Context menu
- User-friendly handling of unhandled errors
- Easily publish new versions to GitHub Releases
- And much more!
Getting started
Click the "Use this template" button.
Alternatively, create a new directory and then run:
$ curl -fsSL https://github.com/sindresorhus/electron-boilerplate/archive/master.tar.gz | tar -xz --strip-components 1
There's also a Yeoman generator.
Remove everything from here and above
App Name
The best app ever
Install
macOS 10.10+, Linux, and Windows 7+ are supported (64-bit only).
macOS
Download the .dmg
file.
Linux
Download the .AppImage
or .deb
file.
The AppImage needs to be made executable after download.
Windows
Download the .exe
file.
Dev
Built with Electron.
Run
$ npm install
$ npm start
Publish
$ npm run release
After Travis finishes building your app, open the release draft it created and click "Publish".
-
15679 Star
-
366 Star
-
124 Star
-
75 Star
-
102 Star