File tree Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Expand file tree Collapse file tree 1 file changed +41
-1
lines changed Original file line number Diff line number Diff line change 1- # CnBlogPublishTool
1+ # 博客园快捷发布工具
2+
3+ ## 一.准备环境
4+
5+ 安装.NET Core SDK: https://www.microsoft.com/net/learn/get-started/windows
6+
7+ ## 二.编译Release包
8+
9+ 进入` shell ` 文件夹,运行` publish.bat `
10+
11+ > 可能会引起杀毒软件误报,请允许。
12+
13+ ## 三.创建快捷方式
14+
15+ 进入 ` 项目根目录\Publish ` 文件夹,选中 ` CnBlogPublishTool.exe ` ,【右键菜单】->【创建快捷方式】
16+
17+ 然后进入 ` 项目根目录\shell ` 文件夹,运行` deploy.bat `
18+
19+ ## 四.使用
20+
21+ 选中一个MarkDown文件,【右键菜单】->【发送到】->【CnBlogPublishTool】,便会开始解析图片并自动上传到博客园。
22+
23+ 第一次使用会让您配置博客ID和博客园的用户名密码,密码采用tea加密存储,请放心使用。
24+
25+ ## 五.使用演示
26+
27+ ![ ] ( assets/ys.gif )
28+
29+ ## 六.说明
30+
31+ - 程序未加过多的容错机制,请勿暴力测试。比如发送一个非MarkDown文件到程序。
32+
33+ - 上传图片具有重试机制,重试三次。
34+
35+ - 只有本地路径的图片才会上传,所有http/https远程图片都会过滤
36+
37+ - 图片上传完毕以后,会自动转换md内容保存到带` cnblog ` 后缀的文件里面
38+
39+ - 密码错误请到程序根目录删除` config.json ` 后重新运行程序,将会让你设置密码
40+
41+
242
You can’t perform that action at this time.
0 commit comments