only check updates in production

This commit is contained in:
Vendicated
2024-07-04 19:47:23 +02:00
parent 485eb8eaef
commit 8798bbce44

View File

@@ -19,10 +19,10 @@ import { isDeckGameMode } from "./utils/steamOS";
if (IS_DEV) { if (IS_DEV) {
require("source-map-support").install(); require("source-map-support").install();
} else {
autoUpdater.checkForUpdatesAndNotify();
} }
autoUpdater.checkForUpdatesAndNotify();
// Make the Vencord files use our DATA_DIR // Make the Vencord files use our DATA_DIR
process.env.VENCORD_USER_DATA_DIR = DATA_DIR; process.env.VENCORD_USER_DATA_DIR = DATA_DIR;