mirror of
https://github.com/smartfrigde/armcord.git
synced 2024-08-14 23:56:58 +00:00
Use unified-acrylic
This commit is contained in:
parent
955cd07737
commit
70ba007e46
3 changed files with 8 additions and 8 deletions
|
@ -35,7 +35,7 @@
|
||||||
"typescript": "^4.9.3"
|
"typescript": "^4.9.3"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pyke/vibe": "github:pykeio/vibe#11984868ce9e007859ed91ff159c7f7f0a34e7ae",
|
"@pyke/vibe": "github:pykeio/vibe#3c61074414cbed96ad51870e4dde379b16d9da6d",
|
||||||
"arrpc": "file:src/arrpc",
|
"arrpc": "file:src/arrpc",
|
||||||
"cross-fetch": "^3.1.5",
|
"cross-fetch": "^3.1.5",
|
||||||
"electron-context-menu": "github:ArmCord/electron-context-menu",
|
"electron-context-menu": "github:ArmCord/electron-context-menu",
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
lockfileVersion: 5.4
|
lockfileVersion: 5.4
|
||||||
|
|
||||||
specifiers:
|
specifiers:
|
||||||
'@pyke/vibe': github:pykeio/vibe#11984868ce9e007859ed91ff159c7f7f0a34e7ae
|
'@pyke/vibe': github:pykeio/vibe#3c61074414cbed96ad51870e4dde379b16d9da6d
|
||||||
'@types/node': ^18.11.9
|
'@types/node': ^18.11.9
|
||||||
'@types/ws': ^8.5.3
|
'@types/ws': ^8.5.3
|
||||||
arrpc: file:src/arrpc
|
arrpc: file:src/arrpc
|
||||||
|
@ -18,7 +18,7 @@ specifiers:
|
||||||
ws: ^8.11.0
|
ws: ^8.11.0
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
'@pyke/vibe': github.com/pykeio/vibe/11984868ce9e007859ed91ff159c7f7f0a34e7ae_electron@22.0.0
|
'@pyke/vibe': github.com/pykeio/vibe/3c61074414cbed96ad51870e4dde379b16d9da6d_electron@22.0.0
|
||||||
arrpc: file:src/arrpc
|
arrpc: file:src/arrpc
|
||||||
cross-fetch: 3.1.5
|
cross-fetch: 3.1.5
|
||||||
electron-context-menu: github.com/ArmCord/electron-context-menu/280c81398c02a063f46e3285a9708d8db1a7ce32
|
electron-context-menu: github.com/ArmCord/electron-context-menu/280c81398c02a063f46e3285a9708d8db1a7ce32
|
||||||
|
@ -2203,11 +2203,11 @@ packages:
|
||||||
electron-is-dev: 2.0.0
|
electron-is-dev: 2.0.0
|
||||||
dev: false
|
dev: false
|
||||||
|
|
||||||
github.com/pykeio/vibe/11984868ce9e007859ed91ff159c7f7f0a34e7ae_electron@22.0.0:
|
github.com/pykeio/vibe/3c61074414cbed96ad51870e4dde379b16d9da6d_electron@22.0.0:
|
||||||
resolution: {tarball: https://codeload.github.com/pykeio/vibe/tar.gz/11984868ce9e007859ed91ff159c7f7f0a34e7ae}
|
resolution: {tarball: https://codeload.github.com/pykeio/vibe/tar.gz/3c61074414cbed96ad51870e4dde379b16d9da6d}
|
||||||
id: github.com/pykeio/vibe/11984868ce9e007859ed91ff159c7f7f0a34e7ae
|
id: github.com/pykeio/vibe/3c61074414cbed96ad51870e4dde379b16d9da6d
|
||||||
name: '@pyke/vibe'
|
name: '@pyke/vibe'
|
||||||
version: 0.3.1
|
version: 0.4.0
|
||||||
requiresBuild: true
|
requiresBuild: true
|
||||||
peerDependencies:
|
peerDependencies:
|
||||||
electron: '>=11.0'
|
electron: '>=11.0'
|
||||||
|
|
|
@ -58,7 +58,7 @@ async function doAfterDefiningTheWindow() {
|
||||||
}
|
}
|
||||||
if (transparency && process.platform === "win32") {
|
if (transparency && process.platform === "win32") {
|
||||||
import("@pyke/vibe").then(async (vibe) => {
|
import("@pyke/vibe").then(async (vibe) => {
|
||||||
vibe.applyEffect(mainWindow, "acrylic");
|
vibe.applyEffect(mainWindow, "unified-acrylic");
|
||||||
vibe.forceTheme(mainWindow, "dark");
|
vibe.forceTheme(mainWindow, "dark");
|
||||||
if ((await getConfig("startMinimized")) == false) {
|
if ((await getConfig("startMinimized")) == false) {
|
||||||
mainWindow.show();
|
mainWindow.show();
|
||||||
|
|
Loading…
Reference in a new issue