diff --git a/src/emain.ts b/src/emain.ts index 542718f6..61f71a43 100644 --- a/src/emain.ts +++ b/src/emain.ts @@ -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)); diff --git a/src/sh2.less b/src/sh2.less index 3521c814..fbc6c46d 100644 --- a/src/sh2.less +++ b/src/sh2.less @@ -46,8 +46,9 @@ font-weight: @weight; } -html, body, #main { +html, body, #app, #main { background-color: #000; + height: 100vh; } body {