diff --git a/github-electron/github-electron-main-tests.ts b/github-electron/github-electron-main-tests.ts index 9ee0b13908..3bce8390ef 100644 --- a/github-electron/github-electron-main-tests.ts +++ b/github-electron/github-electron-main-tests.ts @@ -160,7 +160,11 @@ ipc.on('online-status-changed', (event: any, status: any) => { // https://github.com/atom/electron/blob/master/docs/api/synopsis.md app.on('ready', () => { - window = new BrowserWindow({ width: 800, height: 600 }); + window = new BrowserWindow({ + width: 800, + height: 600, + 'title-bar-style': 'hidden-inset', + }); window.loadUrl('https://github.com'); }); diff --git a/github-electron/github-electron.d.ts b/github-electron/github-electron.d.ts index 9afcbdd632..fee13c29f6 100644 --- a/github-electron/github-electron.d.ts +++ b/github-electron/github-electron.d.ts @@ -515,6 +515,7 @@ declare module GitHubElectron { 'shared-worker'?: boolean; 'direct-write'?: boolean; 'page-visibility'?: boolean; + 'title-bar-style'?: string; } interface Rectangle {