feat: return back to loadURL for discord window

This commit is contained in:
smartfrigde 2024-06-15 11:14:16 +02:00
parent 1191797ee4
commit 46a72f99cd

View file

@ -300,8 +300,8 @@ function doAfterDefiningTheWindow(passedWindow: BrowserWindow): void {
if (firstRun) { if (firstRun) {
passedWindow.close(); passedWindow.close();
} }
//loadURL broke for no good reason after E28
void passedWindow.loadFile(`${import.meta.dirname}/../splash/redirect.html`); void passedWindow.loadURL("https://discord.com/app");
if (getConfig("skipSplash")) { if (getConfig("skipSplash")) {
passedWindow.show(); passedWindow.show();