Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: #416 修复 PicGO 配置文件迁移路径问题 #417

Merged
merged 3 commits into from Mar 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
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
2 changes: 0 additions & 2 deletions components/blog/BlogMain.vue
Expand Up @@ -357,8 +357,6 @@ const emitPublishPageFn = (post) => {
}

const handleEdit = (index, row) => {
console.log(toRaw(row));
return;
if (isNewWin.value) {
handleNewWinEdit(index, row);
} else {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -11,7 +11,7 @@
"docs": "jsdoc -c jsdoc.json utils/api.ts",
"prettier": "prettier --write .",
"prepare": "husky install",
"new": "python scripts/version.py 0.7.0",
"new": "python scripts/version.py 0.7.1",
"widget": "python scripts/widget.py",
"ext": "python scripts/ext.py",
"package": "pnpm widget && pnpm ext"
Expand Down
20 changes: 10 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 1 addition & 4 deletions public/lib/siyuanhook.js
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
12 changes: 8 additions & 4 deletions public/manifest.dev.json
@@ -1,13 +1,15 @@
{
"name": "开发版 - 思源笔记发布辅助工具",
"version": "0.7.0",
"version": "0.7.1",
"manifest_version": 3,
"author": "terwer",
"description": "思源笔记发布辅助工具,支持博客式只读浏览,多平台文章发布。",
"background": {
"service_worker": "background.js"
},
"host_permissions": ["*://*/*"],
"host_permissions": [
"*://*/*"
],
"web_accessible_resources": [
{
"resources": [
Expand All @@ -16,10 +18,12 @@
"publish/index.html",
"index.html"
],
"matches": ["<all_urls>"]
"matches": [
"<all_urls>"
]
}
],
"action": {
"default_popup": "blog/index.html"
}
}
}
12 changes: 8 additions & 4 deletions public/manifest.prod.json
@@ -1,6 +1,6 @@
{
"name": "思源笔记发布辅助工具",
"version": "0.7.0",
"version": "0.7.1",
"manifest_version": 3,
"author": "terwer",
"icons": {
Expand All @@ -13,7 +13,9 @@
"background": {
"service_worker": "background.js"
},
"host_permissions": ["*://*/*"],
"host_permissions": [
"*://*/*"
],
"web_accessible_resources": [
{
"resources": [
Expand All @@ -22,7 +24,9 @@
"publish/index.html",
"index.html"
],
"matches": ["<all_urls>"]
"matches": [
"<all_urls>"
]
}
],
"action": {
Expand All @@ -34,4 +38,4 @@
},
"default_popup": "blog/index.html"
}
}
}
8 changes: 5 additions & 3 deletions public/mv2/manifest-v2-for-firefox.json
@@ -1,6 +1,6 @@
{
"name": "开发版 - 思源笔记发布辅助工具",
"version": "0.7.0",
"version": "0.7.1",
"manifest_version": 2,
"author": "terwer",
"icons": {
Expand All @@ -17,7 +17,9 @@
}
},
"background": {
"scripts": ["background.js"]
"scripts": [
"background.js"
]
},
"web_accessible_resources": [
"blog/index.html",
Expand All @@ -34,4 +36,4 @@
},
"default_popup": "blog/index.html"
}
}
}
4 changes: 2 additions & 2 deletions public/widget.json
Expand Up @@ -2,5 +2,5 @@
"name": "sy-post-publisher",
"author": "terwer",
"url": "https://github.com/terwer/src-sy-post-publisher",
"version": "0.7.0"
}
"version": "0.7.1"
}