Update check on setting
This commit is contained in:
parent
b7c82b4831
commit
4bcb8104de
|
@ -787,6 +787,15 @@ function asReadEnd() {
|
||||||
postMessage(['asReadComp', ''], '*')
|
postMessage(['asReadComp', ''], '*')
|
||||||
}
|
}
|
||||||
function checkupd() {
|
function checkupd() {
|
||||||
|
if (
|
||||||
|
localStorage.getItem('winstore') == 'brewcask' ||
|
||||||
|
localStorage.getItem('winstore') == 'snapcraft' ||
|
||||||
|
localStorage.getItem('winstore') == 'winstore'
|
||||||
|
) {
|
||||||
|
var winstore = true
|
||||||
|
} else {
|
||||||
|
var winstore = false
|
||||||
|
}
|
||||||
var ver = localStorage.getItem('ver')
|
var ver = localStorage.getItem('ver')
|
||||||
var start = 'https://thedesk.top/ver.json'
|
var start = 'https://thedesk.top/ver.json'
|
||||||
fetch(start, {
|
fetch(start, {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user