Update UserAgents
This commit is contained in:
parent
dfa007669b
commit
50b2e864c2
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ export const VENCORD_SETTINGS_FILE = join(VENCORD_SETTINGS_DIR, "settings.json")
|
||||||
export const VENCORD_FILES_DIR =
|
export const VENCORD_FILES_DIR =
|
||||||
(require("./settings") as typeof import("./settings")).Settings.store.vencordDir || join(DATA_DIR, "vencordDist");
|
(require("./settings") as typeof import("./settings")).Settings.store.vencordDir || join(DATA_DIR, "vencordDist");
|
||||||
|
|
||||||
export const USER_AGENT = `VencordDesktop/${app.getVersion()} (https://github.com/Vencord/Electron)`;
|
export const USER_AGENT = `VencordDesktop/${app.getVersion()} (https://github.com/Vencord/Desktop)`;
|
||||||
|
|
||||||
// dimensions shamelessly stolen from Discord Desktop :3
|
// dimensions shamelessly stolen from Discord Desktop :3
|
||||||
export const MIN_WIDTH = 940;
|
export const MIN_WIDTH = 940;
|
||||||
|
|
|
@ -257,7 +257,7 @@ function createMainWindow() {
|
||||||
initSettingsListeners(win);
|
initSettingsListeners(win);
|
||||||
|
|
||||||
win.webContents.setUserAgent(
|
win.webContents.setUserAgent(
|
||||||
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36"
|
"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/114.0.0.0 Safari/537.36"
|
||||||
);
|
);
|
||||||
|
|
||||||
const subdomain =
|
const subdomain =
|
||||||
|
|
Loading…
Reference in a new issue