Publishing and updating
Nội dung này hiện chưa có sẵn bằng ngôn ngữ của bạn.
Distribute the package directory containing plugin.toml and its compiled
entry. Users can copy that directory into their plugin folder or use the
optional update metadata in the manifest.
Verify the entry
Section titled “Verify the entry”Set sha256 to the SHA-256 checksum of the compiled entry:
shasum -a 256 dist/plugin.iife.jsRecalculate the checksum whenever the entry changes. Amadeus does not load an entry that differs from the declared checksum.
Release procedure
Section titled “Release procedure”- Build and type-check the package.
- Set a new
versionand the entry checksum inplugin.toml. - Install the completed directory into a clean plugin location.
- Reload it in Amadeus, then test its declared role in a representative project.
- Publish the manifest and entry together if remote updates are enabled.
The optional [update] block identifies the published manifest and entry.
Check compares published metadata with the installed package; Update
downloads the entry and verifies its declared checksum before installation.