mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
feat: return back to loadURL for discord window
This commit is contained in:
parent
1191797ee4
commit
46a72f99cd
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
|
|
Loading…
Reference in a new issue