diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml index 2979fd57..85465f25 100644 --- a/.github/workflows/dotnet.yml +++ b/.github/workflows/dotnet.yml @@ -220,6 +220,16 @@ jobs: asset_path: ./public/publish-zip/linker-linux-musl-arm64.zip asset_name: linker-linux-musl-arm64.zip asset_content_type: application/zip + - name: upload-version-oss + id: upload-version-oss + uses: tvrcgo/oss-action@v0.1.1 + with: + region: oss-cn-shenzhen + key-id: ${{ secrets.ALIYUN_OSS_ID }} + key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} + bucket: ide-qbcode + asset-path: ./public/version.txt + target-path: /downloads/linker/version.txt - name: upload-install-service-oss id: upload-install-service-oss uses: tvrcgo/oss-action@v0.1.1 diff --git a/gen/index.js b/gen/index.js index 66da1bab..02e8cd5a 100644 --- a/gen/index.js +++ b/gen/index.js @@ -86,7 +86,7 @@ function writeUpload(data, tagName) { }); }; } - /* + data.jobs.build.steps.push({ name: `upload-version-oss`, id: `upload-version-oss`, @@ -100,7 +100,7 @@ function writeUpload(data, tagName) { 'target-path': `/downloads/linker/version.txt` } }); - */ + data.jobs.build.steps.push({ name: `upload-install-service-oss`, diff --git a/src/linker.web/src/views/Api.vue b/src/linker.web/src/views/Api.vue index 567bc6eb..f63d8817 100644 --- a/src/linker.web/src/views/Api.vue +++ b/src/linker.web/src/views/Api.vue @@ -75,8 +75,9 @@ export default { globalData.value.config.Running = res.List.Running; globalData.value.config.configed = true; - state.hashcode = res.HashCode; + + document.title = `${globalData.value.config.Client.Name} - linker.web`; setTimeout(()=>{ _getConfig(); },1000); diff --git a/version.txt b/version.txt index d2d9f3ce..4621e483 100644 --- a/version.txt +++ b/version.txt @@ -1,5 +1,5 @@ v1.8.5 -2025-06-23 11:57:38 +2025-06-23 14:37:11 1. 一些累计更新 2. 备用信标服务器 3. 设置默认中继节点