Update transparency stuff

This commit is contained in:
smartfridge 2022-11-19 19:32:46 +01:00
parent cf4fe8e57b
commit e5ab7a7232
3 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@
"typescript": "^4.7.3"
},
"dependencies": {
"@pyke/vibe": "github:pykeio/vibe",
"@pyke/vibe": "github:pykeio/vibe#11984868ce9e007859ed91ff159c7f7f0a34e7ae",
"electron-context-menu": "github:ArmCord/electron-context-menu",
"extract-zip": "^2.0.1",
"node-fetch": "v2",

View File

@ -1,7 +1,7 @@
lockfileVersion: 5.4
specifiers:
'@pyke/vibe': github:pykeio/vibe
'@pyke/vibe': github:pykeio/vibe#11984868ce9e007859ed91ff159c7f7f0a34e7ae
'@types/node': ^17.0.42
'@types/node-fetch': ^2.6.2
'@types/ws': ^8.5.3

View File

@ -53,7 +53,7 @@ async function doAfterDefiningTheWindow() {
if (transparency && process.platform === "win32") {
import("@pyke/vibe").then(vibe => {
vibe.applyEffect(mainWindow, "acrylic");
vibe.setDarkMode(mainWindow);
vibe.forceTheme(mainWindow, 'dark');
mainWindow.show();
});
}