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

Since the Electron upgrade, Windows users are hitting a weird error about `global-shortcut` not existing. A solution is to `require('global-shortcut')` instead of accessing it as a property of `electorn`. Signed-off-by: Juan Cruz Viotti <jviottidc@gmail.com>