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

View file

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