大重构,优化本地调试

This commit is contained in:
IndieKKY
2024-10-03 19:29:10 +08:00
parent da7357c7eb
commit 5b6b4211a4
19 changed files with 136 additions and 179 deletions

View File

@@ -17,13 +17,11 @@ done
# Update the version in package.json
sed -i '' "s/\"version\": \"$current_version\"/\"version\": \"$new_version\"/g" package.json
# Update the version in manifest.json
sed -i '' "s/\"version\": \"$current_version\"/\"version\": \"$new_version\"/g" manifest.json
echo "Version updated to: $new_version"
# build
pnpm run build_chrome
pnpm run build
# zip dist
rm -f dist.zip
cd dist