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"));