Skip to content

Commit 18ad542

Browse files
committed
🐛 Fix: beta version update bug
1 parent 72387ba commit 18ad542

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/utils/updateChecker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ const checkVersion = async () => {
5353
// if true -> update else return false
5454
const compareVersion2Update = (current: string, latest: string) => {
5555
try {
56-
if (latest.includes('Beta')) {
56+
if (latest.includes('beta')) {
5757
const isCheckBetaUpdate = db.get('settings.checkBetaUpdate') !== false
5858
if (!isCheckBetaUpdate) {
5959
return false

0 commit comments

Comments
 (0)