Fix macOS dimensions
This commit is contained in:
@@ -42,8 +42,8 @@ const UpgradeIPC = require('../src/renderer/ipc/UpgradeIPC');
|
||||
const platform = os.platform();
|
||||
|
||||
const dimensions = {
|
||||
height: ((platform === 'darwin') ? 346 : (platform === 'win32') ? 326 : 300),
|
||||
width: 428 + ((platform === 'win32') ? 40 : (platform === 'darwin') ? 190 : 200),
|
||||
height: (platform === 'win32') ? 326 : (platform === 'darwin') ? 322 : 300,
|
||||
width: (platform === 'win32') ? 468 : 628,
|
||||
};
|
||||
|
||||
let isShutdown = false;
|
||||
@@ -307,4 +307,4 @@ PlatformIPC.addListeners(ipcMain, detectScript, saveUiSettings);
|
||||
ReleaseIPC.addListeners(ipcMain, standardIPCReply);
|
||||
StateIPC.addListeners(ipcMain);
|
||||
SystemIPC.addListeners(ipcMain, closeApplication);
|
||||
UpgradeIPC.addListeners(ipcMain, setIsInstalling, MountsIPC.unmountAllDrives, standardIPCReply);
|
||||
UpgradeIPC.addListeners(ipcMain, setIsInstalling, MountsIPC.unmountAllDrives, standardIPCReply);
|
||||
|
||||
Reference in New Issue
Block a user