enhance latest.html
[uweb.git] / latest.html
blob2807a4b8841860fc42a7fa7d424beacf90c737b5
1 <script>var verCode = %1%;</script>
2 <script>
3 (function(){
4 let latestV = 1048;
5 try {
6 if(verCode>=latestV) {alert("Already up to date!");return;}
7 }catch(e){}
8 location.href = "https://s1.asytech.cn/s/tQrgT5kBRg8Trry/download?path=%2F&files=uweb"+
9 latestV + ".apk&downloadStartSecret=aisiyi";
10 })();
11 </script>
12 <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>