From 714d87241ceb07dfd6c08cee55347a937e97a279 Mon Sep 17 00:00:00 2001 From: Sefa Eyeoglu Date: Fri, 25 Aug 2023 14:15:02 +0200 Subject: build: allow overriding git details & disabling updating (#1677) Co-authored-by: V --- src/main/updater/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/main/updater') diff --git a/src/main/updater/index.ts b/src/main/updater/index.ts index 7036112..32d5cd6 100644 --- a/src/main/updater/index.ts +++ b/src/main/updater/index.ts @@ -16,4 +16,5 @@ * along with this program. If not, see . */ -import(IS_STANDALONE ? "./http" : "./git"); +if (!IS_UPDATER_DISABLED) + import(IS_STANDALONE ? "./http" : "./git"); -- cgit