实现自动下载升级版本

This commit is contained in:
GoEdgeLab
2023-06-13 20:52:37 +08:00
parent 05100d0ac4
commit 62d6e5bc17
13 changed files with 380 additions and 40 deletions

View File

@@ -18,7 +18,7 @@
<div class="ui icon message error" v-if="!isLoading && newVersionCode.length > 0">
<i class="icon warning circle"></i>
升级提醒有新版本管理系统可以更新v{{currentVersionCode}} -&gt; v{{newVersionCode}} &nbsp; &nbsp;
<a href="https://goedge.cn/docs/Releases/Index.md?nav=1" target="_blank">[去官网查看]</a> &nbsp; &nbsp; <a :href="newVersionDownloadURL" target="_blank">[直接下载]</a>
<a href="/settings/updates?doCheck=1">[查看详情]</a>
<a href="" title="关闭" @click.prevent="closeMessage"><i class="ui icon remove small"></i></a>
</div>