Skip to content

Commit

Permalink
🐛 修复打包版本问题
Browse files Browse the repository at this point in the history
  • Loading branch information
CodFrm committed Nov 17, 2022
1 parent 222c2d7 commit f73c543
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build/pack.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ if (version.prerelease.length) {
}
manifest.version = `${version.major.toString()}.${version.minor.toString()}.${version.patch.toString()}.${betaVersion.toString()}`;
manifest.name = `${manifest.name} Beta`;
} else {
manifest.version = package.version;
}

// 处理manifest version
Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"manifest_version": 2,
"name": "ScriptCat",
"version": "0.10.0.1030",
"version": "0.10.0",
"author": "CodFrm",
"description": "脚本猫,一个用户脚本管理器,支持后台脚本、定时脚本、页面脚本,可编写脚本每天帮你自动处理事务.",
"options_ui": {
Expand Down

0 comments on commit f73c543

Please sign in to comment.