Update check on setting
This commit is contained in:
		@@ -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, {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user