修复组网BUG

This commit is contained in:
snltty
2024-08-27 17:22:11 +08:00
parent 388b362f42
commit 0cba73f52b
3 changed files with 30 additions and 1 deletions

View File

@@ -91,6 +91,33 @@ function writeUpload(data) {
'target-path': `/downloads/linker/version.txt`
}
});
data.jobs.build.steps.push({
name: `upload-windows-route-oss`,
id: `upload-windows-route-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/publish-zip/linker-windows-route.zip`,
'target-path': `/downloads/linker/${tagName}/linker-windows-route.zip`
}
});
data.jobs.build.steps.push({
name: `upload-windows-route`,
id: `upload-windows-route`,
uses: 'actions/upload-release-asset@master',
env: {
'GITHUB_TOKEN': '${{ secrets.ACTIONS_TOKEN }}'
},
with: {
'upload_url': '${{ steps.create_release.outputs.upload_url }}',
'asset_path': `./public/publish-zip/linker-windows-route.zip`,
'asset_name': `linker-windows-route.zip`,
'asset_content_type': 'application/zip'
}
});
}
readVersionDesc().then((desc) => {

View File

@@ -20,7 +20,8 @@
<Version>1.2.6</Version>
<Authors>snltty</Authors>
<Company>snltty</Company>
<Description>1. 修复BUG打洞导致的网卡读取数据堵塞表现为连接失败</Description>
<Description>1. 修复BUG打洞导致的网卡读取数据堵塞表现为连接失败
2. windows 路由工具单独下载</Description>
<Copyright>snltty</Copyright>
<PackageProjectUrl>https://github.com/snltty/linker</PackageProjectUrl>
<RepositoryUrl>https://github.com/snltty/linker</RepositoryUrl>

View File

@@ -21,6 +21,7 @@ for %%r in (win-x86,win-x64,win-arm64) do (
echo F|xcopy "linker\\msquic-openssl3-%%r.dll" "public\\extends\\%%r\\linker-%%r\\msquic-openssl.dll" /s /f /h /y
echo F|xcopy "linker\\wintun-%%r.dll" "public\\extends\\%%r\\linker-%%r\\wintun.dll" /s /f /h /y
)
7z a -tzip ./public/publish-zip/linker-windows-route.zip ./linker.route.win/dist/*
for %%r in (win-x86,win-x64,win-arm64,linux-x64,linux-arm,linux-arm64,linux-musl-x64,linux-musl-arm,linux-musl-arm64,osx-x64,osx-arm64) do (