814 Commits

Author SHA1 Message Date
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
Juan Cruz Viotti
328adfe60b Replace windosu with elevator
For some reason, when using `windosu`, the app is elevated three times.
However this only happens when the application is packaged for
distribution.

After a couple of days debugging this issue, we have no clue about
what's going on, but `elevator` seems to work fine.

Fixes: https://github.com/resin-io/herostratus/issues/29
2015-12-17 14:12:59 -04:00
Juan Cruz Viotti
fce58a3ad0 Fix drivelist spawn issues inside asar package
The following libraries were upgraded to versions that include this fix:

- electron-prebuilt
- drivelist

Fixes: https://github.com/resin-io/herostratus/issues/35
Fixes: https://github.com/resin-io/herostratus/issues/18
2015-12-14 16:29:08 -04:00
Juan Cruz Viotti
c166ff2bb8 Upgrade windosu to v0.2.0
This version contains a fix for a cmd.exe window popping in for a
fraction of a second when elevating Herostratus on Windows.

Fixes: https://github.com/resin-io/herostratus/issues/39
2015-11-29 20:23:55 -04:00
Juan Cruz Viotti
da279820dc Eject Windows drives after successful burning
Use the `removedrive` for this task:

https://github.com/jviotti/removedrive

Fixes: https://github.com/resin-io/herostratus/issues/40
2015-11-23 13:40:32 -04:00
Juan Cruz Viotti
479205c2c6 osx: Fix first time elevation failure
Currently we fire and forget `sudoPrompt.exec()` and run a timeout for
`process.exit(0)` right away, however this means that the timeout will
start as soon as the elevation dialog is shown when no sudo cache exists
and therefore the timeout will finish before the user can type his
password and submit.

The fix is to keep the parent alive until the children dies, but call
`app.dock.hide()` to make the parent completely invisible to the
operating system.

Fixes: https://github.com/resin-io/herostratus/issues/31
2015-11-19 13:31:45 -04:00
Juan Cruz Viotti
f55400ec98 Use Bluebird instead of native promises
Native promises showed strange behaviour from time to time.
2015-11-13 14:43:42 -04:00
Juan Cruz Viotti
c5418e7cde Remove window.mocha stub
The real issue was fixed in
https://github.com/jprichardson/electron-mocha/pull/20
2015-11-09 10:42:23 -04:00
Juan Cruz Viotti
ee3c7d4e33 Downgrade to Electron v0.31.2
This version is the last one that works on GNU/Linux.
2015-11-09 10:08:28 -04:00
Juan Cruz Viotti
657e7818d7 Merge pull request #5 from resin-io/jviotti/build/packaging
Package application for all supported oses
2015-10-30 15:28:39 -04:00
Juan Cruz Viotti
e793927e5a Package application for all supported oses 2015-10-30 15:11:48 -04:00
Juan Cruz Viotti
84ae209f14 Upgrade sudo-prompt to v1.1.8
This version contains a fix that allows Herostratus to be correctly
elevated when running with `npm start`.

See fix here:
344da8f7b2
2015-10-30 11:33:38 -04:00
Juan Cruz Viotti
4bfb161e5c Initial commit 2015-10-29 09:36:21 -04:00