Linux frame

This commit is contained in:
Core 2022-02-15 14:53:51 +00:00
parent 04591e605c
commit ad86f58e47
No known key found for this signature in database
GPG key ID: FE9BF1B547F8F3C6
2 changed files with 3 additions and 2 deletions

View file

@ -87,7 +87,7 @@ export class BrowserWindow {
y: undefined, y: undefined,
minWidth: 900, minWidth: 900,
minHeight: 390, minHeight: 390,
frame: false, frame: (process.platform === "linux"),
title: "Cider", title: "Cider",
vibrancy: "fullscreen-ui", vibrancy: "fullscreen-ui",
transparent: process.platform === "darwin", transparent: process.platform === "darwin",
@ -129,6 +129,7 @@ export class BrowserWindow {
this.startWebServer(); this.startWebServer();
BrowserWindow.win = new bw(this.options); BrowserWindow.win = new bw(this.options);
BrowserWindow.win.setMenuBarVisibility(false)
const ws = new wsapi(BrowserWindow.win) const ws = new wsapi(BrowserWindow.win)
ws.InitWebSockets() ws.InitWebSockets()
// and load the renderer. // and load the renderer.

View file

@ -3120,7 +3120,7 @@ body.no-gpu {
} }
} }
body[platform='darwin'] { body[platform='darwin'], body[platform='linux'] {
#window-controls-container { #window-controls-container {
display: none; display: none;
} }