chore: Enable electron frame only in macos

This commit is contained in:
Susmitha Girumala committed 2021-08-27 11:35:44 -04:00
1 parent a1cfa84919
commit 4eaceabb00
1 file changed
+2 -2
+2 -2
View File
@@ -22,7 +22,7 @@ const sessionManager = require('./services/session-manager.js');
const menu = require('./config/menu.js');
const appUpdater = require('./helpers/app-updater.js');
const { isWindows } = require('./helpers/platform.js');
const { isMac } = require('./helpers/platform.js');
const isDev = require('electron-is-dev');
// Register the custom file protocol
@@ -117,7 +117,7 @@ app.on('ready', async () => {
width: 1280,
height: 760,
titleBarStyle: 'hiddenInset',
frame: !isWindows(),
frame: isMac(),
webPreferences: {
partition,
sandbox: true,