aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
authorSefa Eyeoglu <contact@scrumplex.net>2023-08-25 14:15:02 +0200
committerGitHub <noreply@github.com>2023-08-25 14:15:02 +0200
commit714d87241ceb07dfd6c08cee55347a937e97a279 (patch)
treee65caebca7a459c3bd29e69573fcac9398132218 /src/utils
parentf628aa7a70fdf33757995836bca90dcd4d759d37 (diff)
downloadVencord-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.ts2
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 {