Skip to content

fix: load plugin market key from desktop assets - #267

Closed
PANDAJSR wants to merge 1 commit into
SECTL:masterfrom
PANDAJSR:agent/fix-desktop-plugin-market
Closed

fix: load plugin market key from desktop assets#267
PANDAJSR wants to merge 1 commit into
SECTL:masterfrom
PANDAJSR:agent/fix-desktop-plugin-market

Conversation

@PANDAJSR

Copy link
Copy Markdown
Contributor

Summary

  • Load Assets/Plugins/plugin-market-public-key.txt from the desktop output directory when desktop assets are not embedded in SecRandom.dll.
  • Keep the existing avares:// lookup for bundled mobile/non-desktop builds.

Root cause

Desktop builds set SecRandomBundleAssetsInAssembly=false, so the market public key is copied beside the executable rather than embedded as an Avalonia resource. PluginMarketService only tried avares://..., causing index signature verification to fail and leaving the market list empty.

The official market index already contains secrandom.secagent; this fixes the desktop client loading it.

Validation

  • git diff --check passed.
  • The separate worktree NuGet restore was attempted but timed out while contacting external package sources.

@PANDAJSR
PANDAJSR marked this pull request as ready for review August 18, 2026 12:30
@PANDAJSR

Copy link
Copy Markdown
Contributor Author

已由组合修复 PR #269 包含,关闭重复 PR。

@PANDAJSR PANDAJSR closed this Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant