Layout changes

This commit is contained in:
Scott E. Graves
2018-12-08 11:15:47 -06:00
parent de012dbcda
commit fdbbf1c1bf
3 changed files with 5 additions and 6 deletions

View File

@@ -25,7 +25,7 @@ function createWindow() {
loadUiSettings();
// Create the browser window.
const height = (process.env.ELECTRON_START_URL ? 394 : 374) - (os.platform() === 'win32' ? 0 : 20);
const height = (process.env.ELECTRON_START_URL ? 402 : 382) - (os.platform() === 'win32' ? 0 : 20);
mainWindow = new BrowserWindow({
width: 425 + (os.platform() === 'win32' ? 0 : 130),
height: height,
@@ -284,7 +284,7 @@ ipcMain.on(Constants.IPC_Detect_Mounts, (event, data) => {
};
const setImage = (hsLocation, siaLocation, siaPrimeLocation) => {
if (os.platform() === 'win32') {
if (os.platform() === 'win32' || os.platform() === 'linux') {
let image;
if ((siaLocation.length > 0) || (hsLocation.length > 0) || (siaPrimeLocation.length > 0)) {
image = nativeImage.createFromPath(path.join(__dirname, '/build/logo_both.png'));