fuck acrylic
This commit is contained in:
parent
430df8ff41
commit
e866e7fbf1
2 changed files with 1 additions and 14 deletions
|
@ -24,7 +24,6 @@
|
|||
"@sentry/electron": "^2.5.4",
|
||||
"discord-rpc": "^4.0.1",
|
||||
"ejs": "^3.1.6",
|
||||
"electron-acrylic-window": "^0.5.11",
|
||||
"electron-fetch": "^1.7.4",
|
||||
"electron-log": "^4.4.3",
|
||||
"electron-store": "^8.0.1",
|
||||
|
|
|
@ -70,19 +70,7 @@ const CiderBase = {
|
|||
CiderBase.InitWebServer()
|
||||
|
||||
// Create the BrowserWindow
|
||||
if (process.platform === "darwin" || process.platform === "linux") {
|
||||
win = new BrowserWindow(options)
|
||||
} else {
|
||||
if (app.cfg.get("visual.window_transparency") !== "disabled") {
|
||||
const { BrowserWindow } = require("electron-acrylic-window");
|
||||
win = new BrowserWindow(options)
|
||||
win.setVibrancy("#59202700") // when out of focus, fills with #592027, 00 is aplha values
|
||||
}
|
||||
else{
|
||||
win = new BrowserWindow(options)
|
||||
}
|
||||
|
||||
}
|
||||
win = new BrowserWindow(options)
|
||||
|
||||
// intercept "https://js-cdn.music.apple.com/hls.js/2.141.0/hls.js/hls.js" and redirect to local file "./apple-hls.js" instead
|
||||
win.webContents.session.webRequest.onBeforeRequest({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue