Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
场景:
假如现在有非托管应用Relay,现有Windows/Linux/Arm64等平台要部署。如果用现有版本星尘去部署,
做法可能得是建立分别RealyWindow/RelayLinux/RelayArm64三个应用,然后分别添加对应平台的
二进制应用进行发布,这么做倒是可以但不大灵活。
实现:
仿节点版本的做法进行改造,实现只添加一个应用,然后客户端根据设定的策略自动拉取正确的应用进行部署。
效果:
以上改动我这边已测试通过,各位有兴趣的朋友可以拉取试一下,如发现问题请指正!