mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-19 21:07:18 +00:00

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