Windows: Shorter install splash screen

This commit is contained in:
Feross Aboukhadijeh
2016-04-04 13:18:59 -07:00
parent 189ec60f4e
commit 9d8e79fb35

View File

@@ -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
} }