Linux frame
This commit is contained in:
parent
04591e605c
commit
ad86f58e47
2 changed files with 3 additions and 2 deletions
|
@ -87,7 +87,7 @@ export class BrowserWindow {
|
|||
y: undefined,
|
||||
minWidth: 900,
|
||||
minHeight: 390,
|
||||
frame: false,
|
||||
frame: (process.platform === "linux"),
|
||||
title: "Cider",
|
||||
vibrancy: "fullscreen-ui",
|
||||
transparent: process.platform === "darwin",
|
||||
|
@ -129,6 +129,7 @@ export class BrowserWindow {
|
|||
this.startWebServer();
|
||||
|
||||
BrowserWindow.win = new bw(this.options);
|
||||
BrowserWindow.win.setMenuBarVisibility(false)
|
||||
const ws = new wsapi(BrowserWindow.win)
|
||||
ws.InitWebSockets()
|
||||
// and load the renderer.
|
||||
|
|
|
@ -3120,7 +3120,7 @@ body.no-gpu {
|
|||
}
|
||||
}
|
||||
|
||||
body[platform='darwin'] {
|
||||
body[platform='darwin'], body[platform='linux'] {
|
||||
#window-controls-container {
|
||||
display: none;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue