You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// This allows TypeScript to pick up the magic constants that's auto-generated by Forge's Webpack
@@ -14,56 +14,74 @@ if (require("electron-squirrel-startup")) {
14
14
}
15
15
16
16
// Automatic updates
17
-
require("update-electron-app")();
17
+
// require("update-electron-app")();
18
18
19
19
exportletmainWindow: BrowserWindow;
20
20
21
21
constcreateWindow=async()=>{
22
-
awaitCdnService.loadManifest();
22
+
// await CdnService.loadManifest();
23
23
24
-
// Create the browser window.
25
-
mainWindow=newBrowserWindow({
26
-
minWidth: 1024,
27
-
minHeight: 576,
28
-
width: 1024,
29
-
height: 576,
30
-
maxWidth: 1366,
31
-
maxHeight: 768,
32
-
maximizable: false,
33
-
fullscreenable: false,
34
-
icon: "assets/icon/icon.png",
35
-
webPreferences: {
36
-
nodeIntegration: false,
37
-
contextIsolation: true,
38
-
preload: MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY,
39
-
devTools: process.env.NODE_ENV==="development",
40
-
},
41
-
frame: false,
42
-
titleBarStyle: "hidden",
43
-
backgroundColor: "#3B180E",
44
-
show: false,
24
+
constresponse=awaitdialog.showMessageBox({
25
+
type: "error",
26
+
buttons: ["Discord","Site web"],
27
+
title: "Information importante !",
28
+
message:
29
+
"Cette version du launcher est dépréciée.\nVous utilisiez une version Alpha du launcher, nous vous invitons à la désinstaller !\nUne version stable du launcher est disponible sur arena-returns.com\n\nPour plus d'informations, rejoignez nous sur Discord.",
45
30
});
46
31
47
-
if(process.platform==="linux"){
48
-
console.log("Linux system detected. Disabling resizing as it causes issues with Gnome.");
0 commit comments