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/main | |
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/main')
-rw-r--r-- | src/main/updater/index.ts | 3 |
1 files changed, 2 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>. */ -import(IS_STANDALONE ? "./http" : "./git"); +if (!IS_UPDATER_DISABLED) + import(IS_STANDALONE ? "./http" : "./git"); |