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.
- package/dist/cfmr/index.js +2 -2
- package/dist/mcmod/index.js +1 -1
- package/package.json +1 -1
package/dist/cfmr/index.js
CHANGED
|
@@ -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('
|
|
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('
|
|
1053
|
+
ctx.fillText('Plugin By Mai_xiyu', rightX + sidebarW / 2, fy);
|
|
1054
1054
|
ctx.textAlign = 'left';
|
|
1055
1055
|
ry += item.h;
|
|
1056
1056
|
}
|
package/dist/mcmod/index.js
CHANGED
|
@@ -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 |
|
|
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
|
// ================= 详情页卡片 =================
|