Update window styles

This commit is contained in:
TheThomaas 2024-12-24 17:53:41 +01:00
parent b7c26d507a
commit 196fe0e044
2 changed files with 2 additions and 1 deletions

View file

@ -22,6 +22,7 @@ let tray: Tray;
function createWindow(): void {
// Create the browser window.
mainWindow = new BrowserWindow({
title: app.getName(),
width: 1500,
height: 870,
show: false,
@ -43,6 +44,7 @@ function createWindow(): void {
});
splash.loadFile('src/renderer/splash.html');
splash.center();
splash.setSkipTaskbar(true);
splash.show();
mainWindow.on('ready-to-show', () => {

View file

@ -2,7 +2,6 @@
<html>
<head>
<meta charset="UTF-8" />
<title>Electron</title>
<!-- https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP -->
<meta
http-equiv="Content-Security-Policy"