disable this for now

This commit is contained in:
vapormusic 2022-03-05 22:16:59 +07:00
parent a26cb2380c
commit c5d86cd707

View file

@ -322,11 +322,12 @@ export class BrowserWindow {
this.startWebServer(); this.startWebServer();
BrowserWindow.win = new bw(this.options); BrowserWindow.win = new bw(this.options);
if (process.platform === "win32" && (utils.getStoreValue('visual.transparent') ?? false)) { // cant be built in CI
var electronVibrancy = require('electron-vibrancy-updated'); // if (process.platform === "win32" && (utils.getStoreValue('visual.transparent') ?? false)) {
electronVibrancy.SetVibrancy(BrowserWindow.win, 0); // var electronVibrancy = require('electron-vibrancy-updated');
// electronVibrancy.SetVibrancy(BrowserWindow.win, 0);
} // }
const ws = new wsapi(BrowserWindow.win) const ws = new wsapi(BrowserWindow.win)
ws.InitWebSockets() ws.InitWebSockets()
// and load the renderer. // and load the renderer.