mirror of
https://github.com/Kuingsmile/PicList.git
synced 2025-01-23 14:48:13 -05:00
🐛 Fix: beta version update bug
This commit is contained in:
parent
72387baf55
commit
18ad54251e
@ -53,7 +53,7 @@ const checkVersion = async () => {
|
|||||||
// if true -> update else return false
|
// if true -> update else return false
|
||||||
const compareVersion2Update = (current: string, latest: string) => {
|
const compareVersion2Update = (current: string, latest: string) => {
|
||||||
try {
|
try {
|
||||||
if (latest.includes('Beta')) {
|
if (latest.includes('beta')) {
|
||||||
const isCheckBetaUpdate = db.get('settings.checkBetaUpdate') !== false
|
const isCheckBetaUpdate = db.get('settings.checkBetaUpdate') !== false
|
||||||
if (!isCheckBetaUpdate) {
|
if (!isCheckBetaUpdate) {
|
||||||
return false
|
return false
|
||||||
|
Loading…
Reference in New Issue
Block a user