From 2de217e702a8272d301ad963b9098036e1fed021 Mon Sep 17 00:00:00 2001 From: Heath123 Date: Fri, 24 Dec 2021 15:35:07 +0000 Subject: [PATCH] Make start window resizable --- html/startPage/index.html | 4 ++-- html/startPage/style.css | 4 ---- src/index.js | 6 +++--- 3 files changed, 5 insertions(+), 9 deletions(-) diff --git a/html/startPage/index.html b/html/startPage/index.html index fd01a86..3b039ce 100644 --- a/html/startPage/index.html +++ b/html/startPage/index.html @@ -77,7 +77,7 @@

pakkit



- Asks for login credentials in a dialog box on join instead of automatically detecting them. Also forces online mode. + Asks for login credentials in a dialog box on join instead of automatically detecting them. Also forces online mode.


@@ -106,7 +106,7 @@

pakkit



- Allow pakkit to use my auth token from launcher_profiles.json for logging in to online mode servers + Allow pakkit to use my auth token from launcher_profiles.json for logging in to online mode servers


diff --git a/html/startPage/style.css b/html/startPage/style.css index be03639..d28ff2e 100644 --- a/html/startPage/style.css +++ b/html/startPage/style.css @@ -1,7 +1,3 @@ -body { - max-width: 500px; -} - h1.title { font-family: "Lucida Console", Monaco, monospace; } diff --git a/src/index.js b/src/index.js index 74846d4..d1a7efb 100644 --- a/src/index.js +++ b/src/index.js @@ -129,9 +129,9 @@ function createWindow() { // Create the browser window. const win = new BrowserWindow({ - height: store.get('authConsentGiven') ? 700 : 870, + height: store.get('authConsentGiven') ? 680 : 810, width: 500, - resizable: false, + // resizable: false, // frame: false, webPreferences: { nodeIntegration: true, @@ -305,4 +305,4 @@ ipcMain.on('loadLog', async (event, arg) => { }) // In this file you can include the rest of your app's specific main process -// code. You can also put them in separate files and require them here. \ No newline at end of file +// code. You can also put them in separate files and require them here.