mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Update transparency stuff
This commit is contained in:
parent
cf4fe8e57b
commit
e5ab7a7232
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@
|
||||||
"typescript": "^4.7.3"
|
"typescript": "^4.7.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pyke/vibe": "github:pykeio/vibe",
|
"@pyke/vibe": "github:pykeio/vibe#11984868ce9e007859ed91ff159c7f7f0a34e7ae",
|
||||||
"electron-context-menu": "github:ArmCord/electron-context-menu",
|
"electron-context-menu": "github:ArmCord/electron-context-menu",
|
||||||
"extract-zip": "^2.0.1",
|
"extract-zip": "^2.0.1",
|
||||||
"node-fetch": "v2",
|
"node-fetch": "v2",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
lockfileVersion: 5.4
|
lockfileVersion: 5.4
|
||||||
|
|
||||||
specifiers:
|
specifiers:
|
||||||
'@pyke/vibe': github:pykeio/vibe
|
'@pyke/vibe': github:pykeio/vibe#11984868ce9e007859ed91ff159c7f7f0a34e7ae
|
||||||
'@types/node': ^17.0.42
|
'@types/node': ^17.0.42
|
||||||
'@types/node-fetch': ^2.6.2
|
'@types/node-fetch': ^2.6.2
|
||||||
'@types/ws': ^8.5.3
|
'@types/ws': ^8.5.3
|
||||||
|
|
|
@ -53,7 +53,7 @@ async function doAfterDefiningTheWindow() {
|
||||||
if (transparency && process.platform === "win32") {
|
if (transparency && process.platform === "win32") {
|
||||||
import("@pyke/vibe").then(vibe => {
|
import("@pyke/vibe").then(vibe => {
|
||||||
vibe.applyEffect(mainWindow, "acrylic");
|
vibe.applyEffect(mainWindow, "acrylic");
|
||||||
vibe.setDarkMode(mainWindow);
|
vibe.forceTheme(mainWindow, 'dark');
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue