mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-11-01 05:15:22 +08:00
doc: rename
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
# Distribute Plugins via GitHub
|
||||
|
||||
You can upload your plugin to GitHub, create a Release for the repository, and upload the `.lbpkg` file, allowing other users to install it in LangBot.
|
||||
|
||||
## Build Plugin
|
||||
|
||||
Execute the following command in the plugin directory:
|
||||
|
||||
```bash
|
||||
lbp build
|
||||
```
|
||||
|
||||
This will generate a `.lbpkg` file in the `dist` directory.
|
||||
|
||||
## Create Release
|
||||
|
||||
Upload your plugin to GitHub, then go to the Release page of your plugin repository, click to create a Release, and upload the `.lbpkg` file you just built.
|
||||
|
||||
<img width="600" src="/assets/image/zh/plugin/dev/dist/github_release.png" />
|
||||
|
||||
## Install Plugin
|
||||
|
||||
In LangBot's plugin management page, click the top-right corner to select the GitHub installation method.
|
||||
Reference in New Issue
Block a user