Layout changes
This commit is contained in:
@@ -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'));
|
||||
|
||||
Reference in New Issue
Block a user