Skip to content

feat(stickercan): 鍗囩骇鍒?1.2.0 - #510

Open
MoruTeaven wants to merge 2 commits into
ZToolsCenter:mainfrom
MoruTeaven:feat/stickercan-1.2.0
Open

feat(stickercan): 鍗囩骇鍒?1.2.0#510
MoruTeaven wants to merge 2 commits into
ZToolsCenter:mainfrom
MoruTeaven:feat/stickercan-1.2.0

Conversation

@MoruTeaven

Copy link
Copy Markdown
Contributor

表情罐头 StickerCan 1.2.0 升级

plugins/stickercan 从 1.1.1 升级到 1.2.0

主要变更

  • 架构重构:由扁平的 manager 文件重构为模块化三层结构 core / adapters / ui
    • core/:核心服务(EmotionService、SearchService、SettingsService)、搜索源(百度/搜狗/ApiHz/遇见/糖豆子)、工具与模型
    • adapters/:ZTools 平台适配层(剪贴板、文件、HTTP、通知、存储)
    • ui/:界面管理(UIManager、ThemeManager、ChangelogManager)
  • 多源聚合搜索:新增多种第三方表情搜索源
  • 平台兼容:通过 adapter 模式对接 ZTools 的剪贴板/文件/通知等能力
  • 移除旧的 *.eot/.ttf 字体文件(保留 woff/woff2),减小体积
  • plugin.json 版本号更新为 1.2.0

验证

  • 入口保持 index.html + preload.js,与官方插件加载方式一致
  • 已在本地 ZTools 环境验证基本功能正常

抹露茶柒 added 2 commits August 21, 2026 18:29
- 重构为模块化架构,拆分为 core / adapters / ui 三层
- 新增多源聚合搜索(百度、搜狗、ApiHz、遇见、糖豆子等)
- 新增 ZTools 平台适配层(剪贴板/文件/HTTP/通知/存储)
- 升级 plugin.json 版本至 1.2.0
@lzx8589561

Copy link
Copy Markdown
Contributor

佬,你提交的都有冲突,需要使用最新的cli版本,并且每次提交只能提交一个插件变更

npm install -g @ztools-center/plugin-cli

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants