diff --git a/index.js b/index.js index 7c452a06..cf9dea04 100644 --- a/index.js +++ b/index.js @@ -217,7 +217,10 @@ app.on("ready", () => { }); if (!is.dev() && config.get("options.autoUpdates")) { - autoUpdater.checkForUpdatesAndNotify(); + const updateTimeout = setTimeout(() => { + autoUpdater.checkForUpdatesAndNotify(); + clearTimeout(updateTimeout); + }, 2000); autoUpdater.on("update-available", () => { const downloadLink = "https://github.com/th-ch/youtube-music/releases/latest";