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.
昨天也顺带调试了一下自动生成release与binary的action,以后只需要维护pr,然后发布release即可,之后会自动触发action构建二进制。这样以后就可以专注与编码,而不必再花精力维护release了。
为了不影响原来安装脚本,对应的二进制命名与原来的一致。
效果如下:
TODO: 我注意到,此action打出来的二进制要比原来的略大一丢丢,原来12M,现在17M,昨天也调试了upx的参数,但貌似Windows平台那块儿总会出错,又考虑到此二进制大小影响还好,故而放弃折腾。