Commit Graph

11 Commits

Author SHA1 Message Date
Tor Hveem 03f8f2c511
electron: track window state (bounds, x, y) 2016-07-30 14:12:57 +02:00
Tor Hveem af15a00828
Bump to electron 1.0 2016-05-11 11:39:22 +02:00
Magnus Hauge Bakke 2d6df2fffd Make number check for windows bagde future-proof 2016-04-06 13:14:39 +02:00
Magnus Hauge Bakke 7aad726269 Do not set dot badge for windows app 2016-04-06 10:29:28 +02:00
Tor Hveem 1d52986bc6 use overlayicon on win32 2016-04-03 13:43:27 +02:00
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