diff options
author | Sefa Eyeoglu <contact@scrumplex.net> | 2023-08-25 14:15:02 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-25 14:15:02 +0200 |
commit | 714d87241ceb07dfd6c08cee55347a937e97a279 (patch) | |
tree | e65caebca7a459c3bd29e69573fcac9398132218 /src/utils | |
parent | f628aa7a70fdf33757995836bca90dcd4d759d37 (diff) | |
download | Vencord-714d87241ceb07dfd6c08cee55347a937e97a279.tar.gz Vencord-714d87241ceb07dfd6c08cee55347a937e97a279.tar.bz2 Vencord-714d87241ceb07dfd6c08cee55347a937e97a279.zip |
build: allow overriding git details & disabling updating (#1677)
Co-authored-by: V <vendicated@riseup.net>
Diffstat (limited to 'src/utils')
-rw-r--r-- | src/utils/updater.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/updater.ts b/src/utils/updater.ts index 2e2bfe1..f99c6ca 100644 --- a/src/utils/updater.ts +++ b/src/utils/updater.ts @@ -63,7 +63,7 @@ export async function update() { export const getRepo = () => Unwrap(VencordNative.updater.getRepo()); export async function maybePromptToUpdate(confirmMessage: string, checkForDev = false) { - if (IS_WEB) return; + if (IS_WEB || IS_UPDATER_DISABLED) return; if (checkForDev && IS_DEV) return; try { |