Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PluginManager refactor v2 #436

Merged
merged 21 commits into from
May 4, 2024
Merged

PluginManager refactor v2 #436

merged 21 commits into from
May 4, 2024

Conversation

Tides
Copy link
Member

@Tides Tides commented Mar 18, 2024

This is to remove all the old providers, as they're no longer needed, and introduce a new one that parses plugins that are packed and loads them accordingly. This did come as inspiration from the tmod format from tModLoader. Something that needs more discussion is plugin signing.

Here's the tmod format so you don't have to look for it

Right now, by default, it is not required; plugins can be packed without needing to be signed, and the server by default will also not require plugins to have a proper signature. Currently, to sign your plugin, you'll need an RSA private key written in the supported XML format needed to load them with c# (.netstandard2.0). This feature can be used differently than the way tModLoader uses them. Although I don't see a practical use for this, it does add an extra layer of complexity ~

Either way, this is tested and can be merged/improved upon. The whole goal of plugin packing is to make it easier to manage/load dependencies from plugins and to make a variety of other things easier too.

@github-actions github-actions bot added api Relates to Obsidian.API plugins Relates to plugins labels Mar 18, 2024
@Tides Tides merged commit 59596d7 into master May 4, 2024
2 checks passed
@Tides Tides deleted the unpack-packed-plugins branch May 4, 2024 00:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api Relates to Obsidian.API plugins Relates to plugins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants