only check updates in production

This commit is contained in:
Vendicated 2024-07-04 19:47:23 +02:00
parent 485eb8eaef
commit 8798bbce44
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18

View file

@ -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;