koishi-plugin-cfmrmod 1.0.0 → 1.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -777,7 +777,7 @@ async function drawProjectCard(data) {
777
777
  ctx.fillText('Generated by Koishi | Powered by Modrinth & CurseForge', width / 2, footerY);
778
778
  footerY += 18;
779
779
  // 3. 绘制要求的作者署名
780
- ctx.fillText('插件作者 Mai_xiyu(机器人作者 Mai_xiyu', width / 2, footerY);
780
+ ctx.fillText('Plugin By Mai_xiyu', width / 2, footerY);
781
781
  return [canvas.toBuffer('image/png')];
782
782
  }
783
783
  // ================= CurseForge 专用构图 =================
@@ -1050,7 +1050,7 @@ async function drawProjectCardCF(data) {
1050
1050
  ctx.font = `12px "${font}"`;
1051
1051
  ctx.textAlign = 'center';
1052
1052
  ctx.textBaseline = 'top';
1053
- ctx.fillText('插件作者 Mai_xiyu(机器人作者 Mai_xiyu', rightX + sidebarW / 2, fy);
1053
+ ctx.fillText('Plugin By Mai_xiyu', rightX + sidebarW / 2, fy);
1054
1054
  ctx.textAlign = 'left';
1055
1055
  ry += item.h;
1056
1056
  }
@@ -2165,7 +2165,7 @@ async function drawCenterCardImpl(uid, logger) {
2165
2165
  ctx.fillStyle = '#999';
2166
2166
  ctx.font = `12px "${font}"`;
2167
2167
  ctx.textAlign = 'center';
2168
- ctx.fillText('mcmod.cn & bbs.mcmod.cn | Powered by Koishi | Bot By Mai_xiyu', width / 2, totalHeight - 15);
2168
+ ctx.fillText('mcmod.cn & bbs.mcmod.cn | Powered by Koishi | Plugin By Mai_xiyu', width / 2, totalHeight - 15);
2169
2169
  return canvas.toBuffer('image/png');
2170
2170
  }
2171
2171
  // ================= 详情页卡片 =================
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "koishi-plugin-cfmrmod",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Koishi 插件:搜索 CurseForge/Modrinth/MCMod 并渲染图片卡片",
5
5
  "main": "dist/index.js",
6
6
  "files": [