background color black on startup

This commit is contained in:
sawka 2023-03-12 17:38:03 -07:00
parent 5c0454e66f
commit ed6737157b
2 changed files with 4 additions and 2 deletions

View File

@ -108,7 +108,7 @@ function getLocalServerCmd() {
let localServerPath = getLocalServerPath();
let scHome = getPromptHomeDir();
let logFile = path.join(scHome, "local-server.log");
return `${localServerPath} >> ${logFile} 2>&1`;
return `${localServerPath} >> "${logFile}" 2>&1`;
}
function getLocalServerCwd() {
@ -182,6 +182,7 @@ function createMainWindow(clientData) {
webPreferences: {
preload: path.join(getAppBasePath(), DistDir, "preload.js"),
},
backgroundColor: '#000',
});
let indexHtml = (isDev ? "index-dev.html" : "index.html");
win.loadFile(path.join(getAppBasePath(), "static", indexHtml));

View File

@ -46,8 +46,9 @@
font-weight: @weight;
}
html, body, #main {
html, body, #app, #main {
background-color: #000;
height: 100vh;
}
body {