From cbb22ba688d23b32485dea861890d71366132aab Mon Sep 17 00:00:00 2001 From: Mastermindzh Date: Mon, 28 Aug 2023 11:14:13 +0200 Subject: [PATCH] fix: removed calls to restart function --- src/pages/settings/preload.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/pages/settings/preload.ts b/src/pages/settings/preload.ts index 7875e2b..7682d30 100644 --- a/src/pages/settings/preload.ts +++ b/src/pages/settings/preload.ts @@ -154,14 +154,6 @@ function hide() { ipcRenderer.send(globalEvents.hideSettings); } -/** - * Restart TIDAL Hi-Fi after changes - */ -function restart() { - app.relaunch(); - app.exit(); -} - /** * Bind UI components to functions after DOMContentLoaded */ @@ -174,7 +166,6 @@ window.addEventListener("DOMContentLoaded", () => { handleFileUploads(); document.getElementById("close").addEventListener("click", hide); - document.getElementById("restart").addEventListener("click", restart); document.querySelectorAll(".external-link").forEach((elem) => elem.addEventListener("click", function (event) { openExternal((event.target as HTMLElement).getAttribute("data-url"));