use gitee releases in latest.html

This commit is contained in:
James Feng Cao 2025-02-05 16:05:10 +08:00
commit e0114cf562
6 changed files with 21 additions and 20 deletions

View file

@ -2,21 +2,22 @@
<script>
(function(){
let latestV = 1092;
let msg = "Already up to date!";
let url="https://master.dl.sourceforge.net/project/uwebbrowser/v1/uweb"+latestV+".apk?viasf=1";
do {
let ls = navigator.languages;
for(var i in ls){
if(ls[i].startsWith("en")) break;
if(ls[i].startsWith("zh")) {
msg = "已经是最新版!";
url = "https://gitee.com/jamesfengcao/uweb/releases/download/v1/uweb"+latestV+".apk";
break;}
}
}while(false);
try {
if(verCode>=latestV) {
var ls = navigator.languages;
let msg = "Already up to date!";
do {
for(var i in ls){
if(ls[i].startsWith("en")) break;
if(ls[i].startsWith("zh")) {
msg = "已经是最新版!";
break;}
}
}while(false);
alert(msg);return;}
if(verCode>=latestV) {alert(msg);return;}
}catch(e){}
location.href = "https://master.dl.sourceforge.net/project/uwebbrowser/v1/uweb"+latestV+".apk?viasf=1";
location.href = url;
})();
</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>

View file

@ -11,7 +11,7 @@
<sitemap>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/sitemap.xml</loc>
<lastmod>2025-02-03T17:30:47+08:00</lastmod>
<lastmod>2025-02-04T17:46:22+08:00</lastmod>
</sitemap>

View file

@ -6,7 +6,7 @@
<description>Recent content in _Posts on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo</generator>
<language>zh</language>
<lastBuildDate>Sun, 05 Jan 2025 16:51:45 +0800</lastBuildDate>
<lastBuildDate>Tue, 04 Feb 2025 17:46:22 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/zh/_posts/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>电视直播</title>

View file

@ -76,7 +76,7 @@ AI/chatGPT:</p>
<a href="c:bc -l *.bc">全能计算器bc</a></p>
</div>
<p>Last Modified: 1 January 2025<br>
<p>Last Modified: 4 February 2025<br>
update AI engines<br>
<pre></pre>
</p>

View file

@ -6,7 +6,7 @@
<description>Recent content on 超微浏览器: 威、快、高效、极致优化</description>
<generator>Hugo</generator>
<language>zh</language>
<lastBuildDate>Mon, 03 Feb 2025 17:30:47 +0800</lastBuildDate>
<lastBuildDate>Tue, 04 Feb 2025 17:46:22 +0800</lastBuildDate>
<atom:link href="https://jamesfengcao.gitlab.io/uweb/zh/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>电视直播</title>

View file

@ -3,7 +3,7 @@
xmlns:xhtml="http://www.w3.org/1999/xhtml">
<url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/_posts/</loc>
<lastmod>2025-01-05T16:51:45+08:00</lastmod>
<lastmod>2025-02-04T17:46:22+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -29,7 +29,7 @@
/>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/</loc>
<lastmod>2025-02-03T17:30:47+08:00</lastmod>
<lastmod>2025-02-04T17:46:22+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"
@ -304,7 +304,7 @@
<lastmod>2024-05-20T11:27:34+08:00</lastmod>
</url><url>
<loc>https://jamesfengcao.gitlab.io/uweb/zh/bookmark/</loc>
<lastmod>2025-01-01T09:21:53+08:00</lastmod>
<lastmod>2025-02-04T17:46:22+08:00</lastmod>
<xhtml:link
rel="alternate"
hreflang="en"