1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-05 18:47:52 +01:00

prettier ui on macOS (titleBarStyle set to hiddenInset). Requires changes from desktop part of bitwarden client. (#37)

This commit is contained in:
Antoni Sobkowicz 2019-04-14 02:11:32 +02:00 committed by Kyle Spearrin
parent 45cb346be1
commit 42771c1a2d

View File

@ -94,6 +94,7 @@ export class WindowMain {
y: this.windowStates[Keys.mainWindowSize].y,
title: app.getName(),
icon: process.platform === 'linux' ? path.join(__dirname, '/images/icon.png') : undefined,
titleBarStyle: process.platform === 'darwin' ? 'hiddenInset' : undefined,
show: false,
});