From 7afd0284ed28f77fc844be05c760617b2cf4fec1 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Mon, 4 Apr 2016 13:18:59 -0700 Subject: [PATCH] Windows: Shorter install splash screen --- main/squirrel-win32.js | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/main/squirrel-win32.js b/main/squirrel-win32.js index 5dcb191d..011cfd5c 100644 --- a/main/squirrel-win32.js +++ b/main/squirrel-win32.js @@ -16,15 +16,13 @@ var updateDotExe = path.join(process.execPath, '..', '..', 'Update.exe') function handleEvent (cmd) { if (cmd === '--squirrel-install') { - // App was installed. - - // Install desktop/start menu shortcuts. + // App was installed. Install desktop/start menu shortcuts. createShortcuts(function () { // Ensure user sees install splash screen so they realize that Setup.exe actually // installed an application and isn't the application itself. setTimeout(function () { app.quit() - }, 5000) + }, 3000) }) return true }