Refactor plugin registry into separate files per plugin
This commit is contained in:
+6
-10
@@ -59,7 +59,9 @@ plugin-helper/
|
||||
DESIGN.md
|
||||
README.md
|
||||
registry/
|
||||
plugins.toml
|
||||
plugins/
|
||||
songcore.toml
|
||||
bsipa.toml
|
||||
locks/
|
||||
1.40.8.lock.toml
|
||||
src/plugin_helper/
|
||||
@@ -124,21 +126,15 @@ Artifact source preference:
|
||||
Example:
|
||||
|
||||
```toml
|
||||
[[plugins]]
|
||||
id = "songcore"
|
||||
name = "SongCore"
|
||||
repo = "Kylemc1413/SongCore"
|
||||
asset_patterns = ["*SongCore*.zip"]
|
||||
install_strategy = "bsipa-zip"
|
||||
category = "library"
|
||||
|
||||
[plugins.compatibility]
|
||||
source = "metadata-or-release-notes"
|
||||
|
||||
[[plugins.dependencies]]
|
||||
id = "bs-utils"
|
||||
constraint = ">=1.0"
|
||||
required = true
|
||||
dependencies = [
|
||||
{ id = "bs-utils", constraint = ">=1.0" },
|
||||
]
|
||||
```
|
||||
|
||||
Important fields:
|
||||
|
||||
Reference in New Issue
Block a user