From e4bf34cdf1c56370ce3bb9138e6545378bdac55e Mon Sep 17 00:00:00 2001 From: Mark Benson <41453195+thealternator89@users.noreply.github.com> Date: Sat, 25 Apr 2026 10:35:25 +1200 Subject: [PATCH] feat: update initial window dimensions and clean up renderer.tsx --- src/main/window.ts | 4 ++-- src/renderer/renderer.tsx | 28 ---------------------------- 2 files changed, 2 insertions(+), 30 deletions(-) diff --git a/src/main/window.ts b/src/main/window.ts index 2f4765f..1b1713c 100644 --- a/src/main/window.ts +++ b/src/main/window.ts @@ -10,8 +10,8 @@ declare const MAIN_WINDOW_PRELOAD_WEBPACK_ENTRY: string; export const createWindow = (): BrowserWindow => { // Create the browser window. const mainWindow = new BrowserWindow({ - height: 600, - width: 800, + height: 850, + width: 1400, icon: path.join(__dirname, '..', '..', 'assets', 'icon.ico'), titleBarStyle: 'hidden', titleBarOverlay: process.platform === 'win32' ? { diff --git a/src/renderer/renderer.tsx b/src/renderer/renderer.tsx index 8ad1925..c7f4102 100644 --- a/src/renderer/renderer.tsx +++ b/src/renderer/renderer.tsx @@ -1,31 +1,3 @@ -/** - * This file will automatically be loaded by webpack and run in the "renderer" context. - * To learn more about the differences between the "main" and the "renderer" context in - * Electron, visit: - * - * https://electronjs.org/docs/latest/tutorial/process-model - * - * By default, Node.js integration in this file is disabled. When enabling Node.js integration - * in a renderer process, please be aware of potential security implications. You can read - * more about security risks here: - * - * https://electronjs.org/docs/tutorial/security - * - * To enable Node.js integration in this file, open up `main.js` and enable the `nodeIntegration` - * flag: - * - * ``` - * // Create the browser window. - * mainWindow = new BrowserWindow({ - * width: 800, - * height: 600, - * webPreferences: { - * nodeIntegration: true - * } - * }); - * ``` - */ - import 'bootstrap/dist/css/bootstrap.min.css'; import 'bootstrap/dist/js/bootstrap.bundle.min.js'; import '@fortawesome/fontawesome-free/css/all.min.css';