mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-03-09 13:00:53 +01:00
background color black on startup
This commit is contained in:
parent
5c0454e66f
commit
ed6737157b
@ -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));
|
||||
|
@ -46,8 +46,9 @@
|
||||
font-weight: @weight;
|
||||
}
|
||||
|
||||
html, body, #main {
|
||||
html, body, #app, #main {
|
||||
background-color: #000;
|
||||
height: 100vh;
|
||||
}
|
||||
|
||||
body {
|
||||
|
Loading…
Reference in New Issue
Block a user