-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
snltty
committed
Sep 13, 2024
1 parent
5d0dbcd
commit 847321c
Showing
38 changed files
with
295 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -33,11 +33,11 @@ jobs: | |
env: | ||
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }} | ||
with: | ||
tag_name: v1.3.3 | ||
release_name: v1.3.3.${{ steps.date.outputs.today }} | ||
tag_name: v1.3.4 | ||
release_name: v1.3.4.${{ steps.date.outputs.today }} | ||
draft: false | ||
prerelease: false | ||
body: 1. 优化添加防火墙规则,不使用文件 | ||
body: "1. 优化添加防火墙规则,不使用文件\r\n2. 优化权限配置\r\n3. 新增Action功能,可用于连接服务器时的自定义第三方验证" | ||
- name: upload-win-x86-oss | ||
id: upload-win-x86-oss | ||
uses: tvrcgo/[email protected] | ||
|
@@ -47,7 +47,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-win-x86.zip | ||
target-path: /downloads/linker/v1.3.3/linker-win-x86.zip | ||
target-path: /downloads/linker/v1.3.4/linker-win-x86.zip | ||
- name: upload-win-x86 | ||
id: upload-win-x86 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -67,7 +67,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-win-x64.zip | ||
target-path: /downloads/linker/v1.3.3/linker-win-x64.zip | ||
target-path: /downloads/linker/v1.3.4/linker-win-x64.zip | ||
- name: upload-win-x64 | ||
id: upload-win-x64 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -87,7 +87,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-win-arm64.zip | ||
target-path: /downloads/linker/v1.3.3/linker-win-arm64.zip | ||
target-path: /downloads/linker/v1.3.4/linker-win-arm64.zip | ||
- name: upload-win-arm64 | ||
id: upload-win-arm64 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -107,7 +107,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-linux-x64.zip | ||
target-path: /downloads/linker/v1.3.3/linker-linux-x64.zip | ||
target-path: /downloads/linker/v1.3.4/linker-linux-x64.zip | ||
- name: upload-linux-x64 | ||
id: upload-linux-x64 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -127,7 +127,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-linux-arm.zip | ||
target-path: /downloads/linker/v1.3.3/linker-linux-arm.zip | ||
target-path: /downloads/linker/v1.3.4/linker-linux-arm.zip | ||
- name: upload-linux-arm | ||
id: upload-linux-arm | ||
uses: actions/upload-release-asset@master | ||
|
@@ -147,7 +147,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-linux-arm64.zip | ||
target-path: /downloads/linker/v1.3.3/linker-linux-arm64.zip | ||
target-path: /downloads/linker/v1.3.4/linker-linux-arm64.zip | ||
- name: upload-linux-arm64 | ||
id: upload-linux-arm64 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -167,7 +167,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-linux-musl-x64.zip | ||
target-path: /downloads/linker/v1.3.3/linker-linux-musl-x64.zip | ||
target-path: /downloads/linker/v1.3.4/linker-linux-musl-x64.zip | ||
- name: upload-linux-musl-x64 | ||
id: upload-linux-musl-x64 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -187,7 +187,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-linux-musl-arm.zip | ||
target-path: /downloads/linker/v1.3.3/linker-linux-musl-arm.zip | ||
target-path: /downloads/linker/v1.3.4/linker-linux-musl-arm.zip | ||
- name: upload-linux-musl-arm | ||
id: upload-linux-musl-arm | ||
uses: actions/upload-release-asset@master | ||
|
@@ -207,7 +207,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-linux-musl-arm64.zip | ||
target-path: /downloads/linker/v1.3.3/linker-linux-musl-arm64.zip | ||
target-path: /downloads/linker/v1.3.4/linker-linux-musl-arm64.zip | ||
- name: upload-linux-musl-arm64 | ||
id: upload-linux-musl-arm64 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -227,7 +227,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-osx-x64.zip | ||
target-path: /downloads/linker/v1.3.3/linker-osx-x64.zip | ||
target-path: /downloads/linker/v1.3.4/linker-osx-x64.zip | ||
- name: upload-osx-x64 | ||
id: upload-osx-x64 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -247,7 +247,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-osx-arm64.zip | ||
target-path: /downloads/linker/v1.3.3/linker-osx-arm64.zip | ||
target-path: /downloads/linker/v1.3.4/linker-osx-arm64.zip | ||
- name: upload-osx-arm64 | ||
id: upload-osx-arm64 | ||
uses: actions/upload-release-asset@master | ||
|
@@ -277,7 +277,7 @@ jobs: | |
key-secret: ${{ secrets.ALIYUN_OSS_SECRET }} | ||
bucket: ide-qbcode | ||
asset-path: ./public/publish-zip/linker-windows-route.zip | ||
target-path: /downloads/linker/v1.3.3/linker-windows-route.zip | ||
target-path: /downloads/linker/v1.3.4/linker-windows-route.zip | ||
- name: upload-windows-route | ||
id: upload-windows-route | ||
uses: actions/upload-release-asset@master | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
linker.doc.web/docs/5、组网权限/1、组网权限.md → linker.doc.web/docs/5、组网权限.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
--- | ||
sidebar_position: 6 | ||
--- | ||
|
||
# 6、Action请求 | ||
|
||
:::tip[说明] | ||
1. 在客户端连接服务器时,可以发出HTTP POST请求,当赶回`ok`时继续连接服务器,当`非ok`时断开连接 | ||
::: | ||
|
||
## 1、使用ws向linker提交Action参数 | ||
|
||
以 javascript为例,提交Action参数 | ||
``` | ||
const ws = new WebSocket(`ws://127.0.0.1:1803`, ['接口密钥']); | ||
ws.onopen = () => { | ||
const arr = [ | ||
{Key:'token',Value:'snltty',Url:'http://127.0.0.1:5141/token/verify'} | ||
]; | ||
ws.send(JSON.stringify({ | ||
Path:'Action/SetArgs',//设置参数的接口 | ||
RequestId:1, //请求id,递增即可 | ||
Content: JSON.stringify(arr) //内容 | ||
})); | ||
} | ||
``` | ||
|
||
![Docusaurus Plushie](./img/action.png) |
4 changes: 2 additions & 2 deletions
4
linker.doc.web/docs/6、自己发布.md → linker.doc.web/docs/7、自己发布.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
--- | ||
sidebar_position: 6 | ||
sidebar_position: 7 | ||
--- | ||
|
||
# 6、自己发布 | ||
# 7、自己发布 | ||
|
||
你可以自己发布项目,因为涉及到很多内容,所以建议使用脚本发布 | ||
|
||
|
4 changes: 2 additions & 2 deletions
4
linker.doc.web/docs/7、集成打洞到你的项目.md → linker.doc.web/docs/8、集成打洞到你的项目.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 2 additions & 2 deletions
4
linker.doc.web/docs/8、集成tun网卡到你的项目.md → linker.doc.web/docs/9、集成tun网卡到你的项目.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
2 changes: 1 addition & 1 deletion
2
linker.tray.win/web/css/555.2e947627.css → linker.tray.win/web/css/155.953da106.css
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.