mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-11 15:43:02 -04:00
Fix Desktop thinking it's web
I forgor to test host after adding web support
This commit is contained in:
parent
e35393b40c
commit
3a9f692644
6 changed files with 8 additions and 5 deletions
|
@ -16,6 +16,12 @@ import { checkForUpdates, UpdateLogger } from './utils/updater';
|
|||
import { onceReady } from "./webpack";
|
||||
import { Router } from "./webpack/common";
|
||||
|
||||
Object.defineProperty(window, "IS_WEB", {
|
||||
get: () => !window.DiscordNative,
|
||||
configurable: true,
|
||||
enumerable: true
|
||||
});
|
||||
|
||||
export let Components;
|
||||
|
||||
async function init() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue