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