Skip to content

Commit

Permalink
bump to version 20231016
Browse files Browse the repository at this point in the history
  • Loading branch information
baiyuanneko committed Oct 16, 2023
1 parent 8a5e3b9 commit a0ccbaf
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 2 deletions.
2 changes: 1 addition & 1 deletion App/App.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"VersionNumber": 20230820,
"VersionNumber": 20231016,
"AppName": "Baiyuanneko's Blog Generator",
"officialWebsite": "https://bbg.nekomoe.xyz",
"contributors": [
Expand Down
8 changes: 8 additions & 0 deletions App/migrate_core.js
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ function addSupportToCustomizeI18nText(){
};
}

function addSupportForAdjustingLinkColor() {
blog["全局主题设置"]["链接颜色"] = "#0d6efd";
}

module.exports = function () {
const currentBlogVersion = parseInt(
blog["博客程序版本(禁止修改此值,否则会导致跨版本升级异常)"],
Expand Down Expand Up @@ -258,6 +262,10 @@ module.exports = function () {
addSupportToCustomizeI18nText();
}

if (currentBlogVersion <= 20231015) {
addSupportForAdjustingLinkColor();
}

check_third_party_theme_compatiblity();
updateBlogIndexHtml();

Expand Down
4 changes: 4 additions & 0 deletions docs/zh-cn/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# 更新日志

## 20231016

- 优化默认主题的显示效果

## 20230820

- 检查更新时默认使用系统代理(感谢 [@scientificworld] 的贡献)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bbg",
"version": "20230820.0.0",
"version": "20231016.0.0",
"packageManager": "[email protected]",
"description": "A static blog generator based on Electron Technology.",
"license": "UNLICENSED",
Expand Down

0 comments on commit a0ccbaf

Please sign in to comment.