feat(local-integration): 新增模块本地 HTTP 总线#73
Open
liruilong wants to merge 3 commits into
Open
Conversation
e7c6987 to
e6a2321
Compare
e6a2321 to
c784a71
Compare
Owner
|
这是啥? |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
摘要
ChillPatcher.Module.LocalIntegration模块,提供可配置的本地 HTTP 总线,用于可信本地工具与第三方模块集成。ChillPatcher.SDK中新增ILocalIntegrationHandler,模块程序集可以通过实现该接口注册自己的本地路由。SaveProfileService中的字符串匹配改为 net472 可用的IndexOf(..., StringComparison),确保该分支可独立构建。验证
dotnet build ChillPatcher.Module.LocalIntegration\ChillPatcher.Module.LocalIntegration.csproj -c Debug -p:SteamLibraryRoot=D:\Steam说明
127.0.0.1:18792,除非用户显式修改 Host,否则不会开放到局域网。Token后,请求需要使用Authorization: Bearer <token>或X-ChillPatcher-Token。ILocalIntegrationHandler后自行注册,避免主仓绑定特定本地工作流。