🐛 Fix: beta version update bug

This commit is contained in:
Molunerfinn 2020-04-30 18:54:48 +08:00
parent 72387baf55
commit 18ad54251e

View File

@ -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