mirror of https://github.com/torappinfo/uweb
enhance latest.html
parent
a0f510ca9a
commit
e16ae4bfd9
@ -1,9 +1,12 @@
|
||||
<script>var verCode = %1%;</script>
|
||||
<script>
|
||||
let verCode = %1%;
|
||||
let latestV = 1048;
|
||||
if( verCode>=latestV) alert("Already up to date!");
|
||||
else
|
||||
(function(){
|
||||
let latestV = 1048;
|
||||
try {
|
||||
if(verCode>=latestV) {alert("Already up to date!");return;}
|
||||
}catch(e){}
|
||||
location.href = "https://s1.asytech.cn/s/tQrgT5kBRg8Trry/download?path=%2F&files=uweb"+
|
||||
latestV + ".apk&downloadStartSecret=aisiyi";
|
||||
})();
|
||||
</script>
|
||||
<a href="en/changelog/index.html#" onclick="{let url=location.href;let l=url.length;if(url.charCodeAt(l-1)==35)return true;let iS=url.indexOf('/',14);if(l-iS<19)return true;location.href='i:0mi:5h:'+url+'/../en/changelog/index.html';return false;}">Release notes</a>
|
||||
|
Loading…
Reference in New Issue