mirror of
https://github.com/Equicord/Equicord.git
synced 2025-01-18 21:33:35 -05:00
Update WebContext Results
This commit is contained in:
parent
a7293a8127
commit
9e21e2d0b0
1 changed files with 9 additions and 8 deletions
|
@ -32,13 +32,14 @@ async function fetchImage(url: string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
let result;
|
let result;
|
||||||
if (IS_VESKTOP) {
|
switch (true) {
|
||||||
result = IS_VESKTOP;
|
case IS_VESKTOP:
|
||||||
} else if (IS_EQUIBOP) {
|
case IS_EQUIBOP:
|
||||||
result = IS_EQUIBOP;
|
case "legcord" in window:
|
||||||
} else if (IS_WEB) {
|
case "goofcord" in window:
|
||||||
result = IS_WEB;
|
result = true;
|
||||||
} else {
|
break;
|
||||||
|
default:
|
||||||
result = false;
|
result = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue