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,
|
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.
|
||||||
|
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue