Juan Cruz Viotti
f530dfcc3c
Return to avoid any further code execution after an elevation error
...
Turns out that even by using `process.exit(1)`, the electron main
process doesn't exit instantly, but continues executing code.
This causes electron to throw on `electron.globalShortcut` because this
functionality is not available given that we didn't create a renderer
view.
Fixes: https://github.com/resin-io/etcher/issues/215
2016-03-25 09:41:30 -04:00
Juan Cruz Viotti
611be46177
Unify handling of elevation errors in etcher.js
2016-02-08 14:31:45 -04:00
Juan Cruz Viotti
66a8970b00
Fix flash of white at startup
...
Fixes: https://github.com/resin-io/etcher/issues/122
2016-02-04 16:06:13 -04:00
Juan Cruz Viotti
edbde47900
Set titleBarStyle to 'hidden-inset'
...
This only affects OS X.
2016-02-04 15:58:30 -04:00
Juan Cruz Viotti
122f136ff8
Refactor Etcher using ES6 features
2016-01-22 11:38:46 -04:00
Juan Cruz Viotti
efb055eb89
Upgrade Electron to v0.36.4
2016-01-22 09:37:57 -04:00
Juan Cruz Viotti
6a50015ddc
Require electron-window as ElectronWindow
...
JSHint complains about `Window` as a redefinition warning.
2016-01-18 14:12:54 -04:00
Juan Cruz Viotti
35c3351533
Change license to Apache 2.0
2016-01-03 22:42:44 -04:00
Juan Cruz Viotti
408a3096fc
Rename Herostratus to Resin Etcher
2016-01-01 18:07:45 -04:00