From 50b2e864c23b8b1b2469962a806b0526cf9cc456 Mon Sep 17 00:00:00 2001 From: V Date: Fri, 23 Jun 2023 16:03:31 +0200 Subject: [PATCH] Update UserAgents --- src/main/constants.ts | 2 +- src/main/mainWindow.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/constants.ts b/src/main/constants.ts index d5937f7..c53a758 100644 --- a/src/main/constants.ts +++ b/src/main/constants.ts @@ -17,7 +17,7 @@ export const VENCORD_SETTINGS_FILE = join(VENCORD_SETTINGS_DIR, "settings.json") export const VENCORD_FILES_DIR = (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 export const MIN_WIDTH = 940; diff --git a/src/main/mainWindow.ts b/src/main/mainWindow.ts index 34a72cd..2f3b667 100644 --- a/src/main/mainWindow.ts +++ b/src/main/mainWindow.ts @@ -257,7 +257,7 @@ function createMainWindow() { initSettingsListeners(win); 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 =