From 18ad54251e0f85e6aa8af7c9e07dfeb33f729c24 Mon Sep 17 00:00:00 2001 From: Molunerfinn Date: Thu, 30 Apr 2020 18:54:48 +0800 Subject: [PATCH] :bug: Fix: beta version update bug --- src/main/utils/updateChecker.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/utils/updateChecker.ts b/src/main/utils/updateChecker.ts index 2d2fb37..81a236d 100644 --- a/src/main/utils/updateChecker.ts +++ b/src/main/utils/updateChecker.ts @@ -53,7 +53,7 @@ const checkVersion = async () => { // if true -> update else return false const compareVersion2Update = (current: string, latest: string) => { try { - if (latest.includes('Beta')) { + if (latest.includes('beta')) { const isCheckBetaUpdate = db.get('settings.checkBetaUpdate') !== false if (!isCheckBetaUpdate) { return false