From 48e2052748ce7559e396924d73582759d06964c6 Mon Sep 17 00:00:00 2001 From: CakeLancelot Date: Sun, 23 Apr 2023 15:37:44 -0500 Subject: [PATCH] Fix call to nonexistent function in URL redirection Gotta love runtime errors --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 9cd98f1..e0478ab 100644 --- a/index.js +++ b/index.js @@ -205,7 +205,7 @@ function showMainWindow() { require("shell").openExternal("https://discord.gg/DYavckB"); break; default: - mainWindow.webContents.loadURL(url); + mainWindow.loadURL(url); } }); }