From bea6b31027b4361925594b4094dae1ad3ed300a9 Mon Sep 17 00:00:00 2001 From: jota11 Date: Sat, 22 Aug 2020 16:55:53 -0300 Subject: [PATCH] Stupid fix. --- main.js | 3 --- preload.js | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/main.js b/main.js index a83d992..7518f03 100644 --- a/main.js +++ b/main.js @@ -96,7 +96,6 @@ function createWindow() { } } -// app.whenReady().then(createWindow); app.on("ready", () => { createWindow(); autoUpdater.checkForUpdatesAndNotify(); @@ -161,11 +160,9 @@ ipcMain.on("restart_app", () => { ipcMain.on("SettingsWindow", async (event, someArgument) => { settingsPage.OpenWindow(); }); - ipcMain.on("PatchNotesWindow", async (event, someArgument) => { patchnotesPage.OpenWindow(); }); - ipcMain.on("ServerListWindow", async (event, someArgument) => { serverlistPage.OpenWindow(); }); diff --git a/preload.js b/preload.js index cef28ff..1777901 100644 --- a/preload.js +++ b/preload.js @@ -54,7 +54,7 @@ window.addEventListener("DOMContentLoaded", () => { if (currentClientVersion === version) { launcherversionBox.remove(); } else { - launcherversionBox.innerText = "A new update is available but it seems you\ndon't have auto-update working.\nCheck the website to download the new version."; + launcherversionBox.innerText = "A new update is available for the launcher.\nCheck the website to download the new version.\nIf you are using the auto-updater version,\ndownload it automatically by clicking the yellow\nbutton!"; } } }