Merge branch 'master' into master
This commit is contained in:
commit
5a90a367af
19
README.md
19
README.md
|
@ -29,16 +29,17 @@ npm install
|
||||||
npm start
|
npm start
|
||||||
```
|
```
|
||||||
|
|
||||||
Learn more about Electron and its API in the [documentation](http://electron.atom.io/docs/).
|
Note: If you're using Linux Bash for Windows, [see this guide](https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/) or use `node` from the command prompt.
|
||||||
|
|
||||||
---
|
## Resources for Learning Electron
|
||||||
Note: If you're using Linux Bash for Windows, [see this guide](https://www.howtogeek.com/261575/how-to-run-graphical-linux-desktop-applications-from-windows-10s-bash-shell/) or use `node` from Command Prompt
|
|
||||||
|
|
||||||
|
- [electron.atom.io/docs](http://electron.atom.io/docs) - all of Electron's documentation
|
||||||
|
- [electron.atom.io/community/#boilerplates](http://electron.atom.io/community/#boilerplates) - sample starter apps created by the community
|
||||||
|
- [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - a very basic starter Electron app
|
||||||
|
- [electron/simple-samples](https://github.com/electron/simple-samples) - small applications with ideas for taking them further
|
||||||
|
- [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - an Electron app that teaches you how to use Electron
|
||||||
|
- [hokein/electron-sample-apps](https://github.com/hokein/electron-sample-apps) - small demo apps for the various Electron APIs
|
||||||
|
|
||||||
## Other Example Apps
|
## License
|
||||||
|
|
||||||
For more example apps, see the
|
[CC0 1.0 (Public Domain)](LICENSE.md)
|
||||||
[list of boilerplates](http://electron.atom.io/community/#boilerplates)
|
|
||||||
created by the awesome electron community.
|
|
||||||
|
|
||||||
#### License [CC0 1.0 (Public Domain)](LICENSE.md)
|
|
||||||
|
|
2
main.js
2
main.js
|
@ -23,7 +23,7 @@ function createWindow () {
|
||||||
}))
|
}))
|
||||||
|
|
||||||
// Open the DevTools.
|
// Open the DevTools.
|
||||||
mainWindow.webContents.openDevTools()
|
// mainWindow.webContents.openDevTools()
|
||||||
|
|
||||||
// Emitted when the window is closed.
|
// Emitted when the window is closed.
|
||||||
mainWindow.on('closed', function () {
|
mainWindow.on('closed', function () {
|
||||||
|
|
|
@ -17,6 +17,6 @@
|
||||||
"author": "GitHub",
|
"author": "GitHub",
|
||||||
"license": "CC0-1.0",
|
"license": "CC0-1.0",
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"electron": "^1.4.1"
|
"electron": "~1.6.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue