From 8798bbce44d494c3407b0aa654084c38742b1614 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Thu, 4 Jul 2024 19:47:23 +0200 Subject: [PATCH] only check updates in production --- src/main/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/index.ts b/src/main/index.ts index dbc0ee2..2e0d6f7 100644 --- a/src/main/index.ts +++ b/src/main/index.ts @@ -19,10 +19,10 @@ import { isDeckGameMode } from "./utils/steamOS"; if (IS_DEV) { require("source-map-support").install(); +} else { + autoUpdater.checkForUpdatesAndNotify(); } -autoUpdater.checkForUpdatesAndNotify(); - // Make the Vencord files use our DATA_DIR process.env.VENCORD_USER_DATA_DIR = DATA_DIR;