Skip to content

Class-Widgets/plugin-template-v2

Repository files navigation

Class Widgets 2

Class Widgets 2 Plugin Template

Class Widgets 2 插件模板

星标 开源许可 下载量

Caution

本项目还处在开发阶段,API 接口可能随时发生变化,敬请谅解。

This project is still in development. The API may change at any time, so please bear with us.

介绍 / Introduction

一个基于 Class Widgets 2 的插件模板。

使用 / Usage

  1. 安装 Class Widgets 2 SDK 依赖 / Install the Class Widgets 2 SDK dependencies
pip install class-widgets-sdk
  1. 在终端运行 cw-plugin-pack 以打包插件 / Run cw-plugin-pack to pack the plugin in the terminal
cw-plugin-pack
  1. 在 Class Widgets 2 -> "设置" -> "插件"中导入打包好的插件 / Import the packed plugin in "Settings" -> "Plugins" in Class Widgets 2

自动发布 / Auto Release

通过 GitHub Actions 实现自动发布功能,推送 tag 时自动生成 release。

使用方法 / How to Use

  1. 推送 tag 到 GitHub(格式:v*.*.*):
git tag v1.0.0
git push origin v1.0.0
  1. GitHub Actions 会自动:

    • 使用 cw-plugin-pack 打包插件
    • 生成 .cwplugin.zip 两种格式
    • 创建 GitHub Release 并上传发布包
  2. 在 GitHub Release 页面下载发布包

致谢 / Acknowledgements

引用资源 / Credits

版权 / License

本项目基于 MIT 协议开源,详情请参阅 LICENSE 文件。

The project is licensed under the MIT license. Please refer to the LICENSE file for details.

test

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages