mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-24 11:46:31 +00:00
patch: fix windows squirrel install
This commit is contained in:
parent
70f0fb677c
commit
41107c2f4f
@ -300,7 +300,7 @@ async function main(): Promise<void> {
|
||||
// Handle creating/removing shortcuts on Windows when installing/uninstalling.
|
||||
// tslint:disable-next-line:no-var-requires
|
||||
if (require('electron-squirrel-startup')) {
|
||||
app.quit();
|
||||
electron.app.quit();
|
||||
}
|
||||
|
||||
main();
|
||||
|
Loading…
x
Reference in New Issue
Block a user