Commit graph

4 commits

Author SHA1 Message Date
Tor Hveem
af15a00828
Bump to electron 1.0 2016-05-11 11:39:22 +02:00
Tor Hveem
382a5dc5c0 handle focus event, fix whitespace 2016-04-03 13:47:38 +02:00
Magnus Hauge Bakke
14d8f73532 Electron: Set app badge in os x (darwin) 2016-04-01 21:50:34 +02:00
Tor Hveem
32e57f2ca9 Rudimentary Electron (Atom-Shell) support
This patch serves as a starting point for making electron based Glowing
Bear builds. Primary motivation is that Mozilla is removing support for
their web runtime, so then Electron is a new way to get standalone
application running outside of browser.

This adds 2 new files that will be the main html and main js for
electron. Those files simply load the rest of the app.

It also adds two new npm run commands to build windows and darwin builds
for electron. Darwin is untested so far.

Bulding packages requires npm package `electron-packager`

There's still some problems with notifications.
And badges for the dock in Darwin is not implemented.
We could also put all keyboard shorcuts in menus.

Thanks to @lukas2511 for some guidance on the wrappers and commands.
2016-03-30 15:19:22 +02:00