Skip to content

Commit 52b153d

Browse files
committed
🎨添加用爱发电
1 parent bb08461 commit 52b153d

File tree

6 files changed

+27
-2
lines changed

6 files changed

+27
-2
lines changed

assets/donate.png

93.8 KB
Loading
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/SettingPanel.svelte

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -337,6 +337,31 @@
337337
},
338338
],
339339
},
340+
{
341+
name: '❤️用爱发电',
342+
items: [
343+
{
344+
key: 'donateInfo',
345+
value: '',
346+
type: 'hint',
347+
title: '用爱发电',
348+
description: `
349+
项目 GitHub 地址: <a href="https://github.com/achuan-2/siyuan-plugin-task-note-management">https://github.com/achuan-2/siyuan-plugin-task-note-management</a>
350+
<p style="margin-top:12px;">如果喜欢我的插件,欢迎给GitHub仓库点star和微信赞赏,这会激励我继续完善此插件和开发新插件。</p>
351+
352+
<p style="margin-top:12px;">维护插件费时费力,个人时间和精力有限,开源只是分享,不等于我要浪费我的时间免费帮用户实现ta需要的功能,</p>
353+
354+
<p style="margin-top:12px;">我需要的功能我会慢慢改进(打赏可以催更),有些我觉得可以改进、但是现阶段不必要的功能需要打赏才改进(会标注打赏标签和需要打赏金额),而不需要的功能、实现很麻烦的功能会直接关闭issue不考虑实现,我没实现的功能欢迎有大佬来pr</p>
355+
356+
<p style="margin-top:12px;">累积赞赏50元的朋友如果想加我微信,可以在赞赏的时候备注微信号,或者发邮件到<a href="mailto:[email protected]">[email protected]</a>来进行好友申请</p>
357+
358+
<div style="margin-top:12px;">
359+
<img src="plugins/siyuan-plugin-task-note-management/assets/donate.png" alt="donate" style="max-width:260px; height:auto; border:1px solid var(--b3-border-color);"/>
360+
</div>
361+
`,
362+
},
363+
],
364+
},
340365
];
341366
342367
let focusGroup = groups[0].name;

vite.config.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default defineConfig({
3131
svelte(),
3232

3333
vitePluginYamlI18n({
34-
inDir: 'public/i18n',
34+
inDir: 'i18n',
3535
outDir: `${outputDir}/i18n`
3636
}),
3737

@@ -90,7 +90,7 @@ export default defineConfig({
9090
name: 'watch-external',
9191
async buildStart() {
9292
const files = await fg([
93-
'public/i18n/**',
93+
'./i18n/**',
9494
'./README*.md',
9595
'./plugin.json'
9696
]);

0 commit comments

Comments
 (0)