Commit Graph

6 Commits

Author SHA1 Message Date
Magnus Hauge Bakke 3ad7ad203b Add comments to electron app badge functions 2016-04-02 10:29:06 +02:00
Magnus Hauge Bakke 14d8f73532 Electron: Set app badge in os x (darwin) 2016-04-01 21:50:34 +02:00
Magnus Hauge Bakke 174b9159d6 Set application menu on ready event. 2016-03-30 19:41:55 +02:00
Magnus Hauge Bakke 20820e64ba Fix bug when fetcing app name for darwin menus 2016-03-30 19:40:18 +02:00
Magnus Hauge Bakke fb52faa840 Fix missing semicolon 2016-03-30 19:38:46 +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