Update window styles
This commit is contained in:
parent
b7c26d507a
commit
196fe0e044
|
|
@ -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', () => {
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Reference in a new issue