Windows: Shorter install splash screen
This commit is contained in:
@@ -16,15 +16,13 @@ var updateDotExe = path.join(process.execPath, '..', '..', 'Update.exe')
|
|||||||
|
|
||||||
function handleEvent (cmd) {
|
function handleEvent (cmd) {
|
||||||
if (cmd === '--squirrel-install') {
|
if (cmd === '--squirrel-install') {
|
||||||
// App was installed.
|
// App was installed. Install desktop/start menu shortcuts.
|
||||||
|
|
||||||
// Install desktop/start menu shortcuts.
|
|
||||||
createShortcuts(function () {
|
createShortcuts(function () {
|
||||||
// Ensure user sees install splash screen so they realize that Setup.exe actually
|
// Ensure user sees install splash screen so they realize that Setup.exe actually
|
||||||
// installed an application and isn't the application itself.
|
// installed an application and isn't the application itself.
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
app.quit()
|
app.quit()
|
||||||
}, 5000)
|
}, 3000)
|
||||||
})
|
})
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user