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