Skip to content

Commit

Permalink
sy-post-publisher v0.7.1版本,修复 PicGO 配置文件迁移路径问题
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Mar 3, 2023
1 parent 9c38f51 commit 6f6abfe
Show file tree
Hide file tree
Showing 28 changed files with 143 additions and 126 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,10 @@
<a title="Downloads" target="_blank" href="https://github.com/terwer/src-sy-post-publisher/releases"><img src="https://img.shields.io/github/downloads/terwer/src-sy-post-publisher/total.svg?label=extension-downloads&style=flat-square&color=blueviolet"></a>
<a title="Downloads" target="_blank" href="https://github.com/terwer/src-sy-post-publisher/releases"><img src="https://img.shields.io/github/downloads/terwer/sy-post-publisher/total.svg?label=widget-downloads&style=flat-square&color=blue"></a>

## v0.7.1 Bug修复

- 修复 PicGO 旧的配置文件迁移过程中路径拼接错误问题

## v0.7.0 特性一览<sup>new</sup>

⚠️ 特别提醒: `0.7.0` 为灰度测试版本,所以随时可能发布 `0.7.x` 修复版本,请考虑好之后再升级。
Expand Down
8 changes: 4 additions & 4 deletions anki/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link rel="shortcut icon" href="/widgets/sy-post-publisher/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Anki卡片标记 - 思源笔记发布辅助工具</title>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/anki-6d01e692.js"></script>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/anki-ccffb5e3.js"></script>
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_before-after-hook-6380be1a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_rollup-plugin-node-polyfills-43c96027.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_universal-user-agent-fa924523.js">
Expand All @@ -53,7 +53,7 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_plantuml-encoder-18698577.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-bd2e1c44.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-plugin-prefix-34a2ac06.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_browser-fs-access-bf84e7f7.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_browser-fs-access-16ccdee9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_transliteration-0556f169.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_shorthash2-e60185c0.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_uuid-520e9b68.js">
Expand All @@ -64,8 +64,8 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_xmlbuilder2-780b1a8c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_simple-xmlrpc-212666d6.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-37b14d55.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-a6643e7a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-bc912707.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-a01203bb.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-7f15e979.js">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AppLayout-347b3b26.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AnkiIndex-8b78e8e2.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/vendor_element-plus-479553c1.css">
Expand Down
20 changes: 10 additions & 10 deletions blog/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link rel="shortcut icon" href="/widgets/sy-post-publisher/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>文章列表查看 - 思源笔记发布辅助工具</title>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/blog-bad4f7b1.js"></script>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/blog-e6806d01.js"></script>
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_before-after-hook-6380be1a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_rollup-plugin-node-polyfills-43c96027.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_universal-user-agent-fa924523.js">
Expand All @@ -53,7 +53,7 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_plantuml-encoder-18698577.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-bd2e1c44.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-plugin-prefix-34a2ac06.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_browser-fs-access-bf84e7f7.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_browser-fs-access-16ccdee9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_transliteration-0556f169.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_shorthash2-e60185c0.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_uuid-520e9b68.js">
Expand All @@ -64,18 +64,18 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_xmlbuilder2-780b1a8c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_simple-xmlrpc-212666d6.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-37b14d55.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-a6643e7a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PostDetailService.vue_vue_type_style_index_0_lang-7019a44e.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-a01203bb.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PostDetailService.vue_vue_type_style_index_0_lang-ebd030b9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_toggle-selection-441a0a42.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_copy-to-clipboard-a51858f9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_blueimp-md5-es6-056b4f91.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/picgoPostApi-852486ac.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PublishService-f9c5a1ff.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-bc912707.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PicgoIndex.vue_vue_type_style_index_0_lang-2378dce4.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/BlogIndex.vue_vue_type_script_setup_true_lang-5a8ff363.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/picgoPostApi-eced7049.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PublishService-6227fd1c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-7f15e979.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PicgoIndex.vue_vue_type_style_index_0_lang-42ba62d9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/BlogIndex.vue_vue_type_script_setup_true_lang-dbe90ef6.js">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AppLayout-347b3b26.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/BlogIndex-90ff6dbd.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/BlogIndex-f4c5ff9d.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/vendor_element-plus-479553c1.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PostDetailService-99e16a5c.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PublishService-617e6ebe.css">
Expand Down
8 changes: 4 additions & 4 deletions detail/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link rel="shortcut icon" href="/widgets/sy-post-publisher/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>文章详情预览 - 思源笔记发布辅助工具</title>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/detail-30d5db88.js"></script>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/detail-deed6cac.js"></script>
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_before-after-hook-6380be1a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_rollup-plugin-node-polyfills-43c96027.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_universal-user-agent-fa924523.js">
Expand All @@ -53,7 +53,7 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_plantuml-encoder-18698577.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-bd2e1c44.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-plugin-prefix-34a2ac06.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_browser-fs-access-bf84e7f7.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_browser-fs-access-16ccdee9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_transliteration-0556f169.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_shorthash2-e60185c0.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_uuid-520e9b68.js">
Expand All @@ -64,8 +64,8 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_xmlbuilder2-780b1a8c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_simple-xmlrpc-212666d6.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-37b14d55.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-a6643e7a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PostDetailService.vue_vue_type_style_index_0_lang-7019a44e.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-a01203bb.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PostDetailService.vue_vue_type_style_index_0_lang-ebd030b9.js">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AppLayout-347b3b26.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/vendor_element-plus-479553c1.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PostDetailService-99e16a5c.css">
Expand Down
22 changes: 11 additions & 11 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<link rel="shortcut icon" href="/widgets/sy-post-publisher/favicon.ico">
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>首页 - 思源笔记发布辅助工具</title>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/index-3e547534.js"></script>
<script type="module" crossorigin src="/widgets/sy-post-publisher/static/js/index-5b8acd6b.js"></script>
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_before-after-hook-6380be1a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_rollup-plugin-node-polyfills-43c96027.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_universal-user-agent-fa924523.js">
Expand All @@ -53,7 +53,7 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_plantuml-encoder-18698577.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-bd2e1c44.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_loglevel-plugin-prefix-34a2ac06.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_browser-fs-access-bf84e7f7.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_browser-fs-access-16ccdee9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_transliteration-0556f169.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_shorthash2-e60185c0.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_uuid-520e9b68.js">
Expand All @@ -64,24 +64,24 @@
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_xmlbuilder2-780b1a8c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_simple-xmlrpc-212666d6.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_lodash-37b14d55.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-a6643e7a.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PostDetailService.vue_vue_type_style_index_0_lang-7019a44e.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AppLayout.vue_vue_type_script_setup_true_lang-a01203bb.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PostDetailService.vue_vue_type_style_index_0_lang-ebd030b9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_toggle-selection-441a0a42.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_copy-to-clipboard-a51858f9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/vendor_blueimp-md5-es6-056b4f91.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/picgoPostApi-852486ac.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PublishService-f9c5a1ff.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-bc912707.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PicgoIndex.vue_vue_type_style_index_0_lang-2378dce4.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/BlogIndex.vue_vue_type_script_setup_true_lang-5a8ff363.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PublishIndex-6ef1f1d0.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/picgoPostApi-eced7049.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PublishService-6227fd1c.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/AnkiIndex-7f15e979.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PicgoIndex.vue_vue_type_style_index_0_lang-42ba62d9.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/BlogIndex.vue_vue_type_script_setup_true_lang-dbe90ef6.js">
<link rel="modulepreload" crossorigin href="/widgets/sy-post-publisher/static/js/PublishIndex-fa3ad488.js">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/vendor_element-plus-479553c1.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AppLayout-347b3b26.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PostDetailService-99e16a5c.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PublishService-617e6ebe.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/AnkiIndex-8b78e8e2.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PicgoIndex-7d69e8d1.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/BlogIndex-90ff6dbd.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/BlogIndex-f4c5ff9d.css">
<link rel="stylesheet" href="/widgets/sy-post-publisher/static/css/PublishIndex-32538930.css">
</head>
<body>
Expand Down
5 changes: 1 addition & 4 deletions lib/siyuanhook.js
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,7 @@ const initMethods = {
appDataFolder,
"sy-picgo"
)
const picgo_cfg_070 = picgoExtension.joinPath(
picgo_cfg_folder_070,
"picgo.cfg.json"
)
const picgo_cfg_070 = "picgo.cfg.json"
picgoExtension.upgradeCfg(
picgo_cfg_067,
picgo_cfg_folder_070,
Expand Down
Loading

0 comments on commit 6f6abfe

Please sign in to comment.