refactor: 优化代码结构并修复多个问题

修复 ruleComponent.tsx 和 ruleBuilderUtils.ts 中 queryToAutoScoreRule 函数的参数问题
调整 database.rs 中 state_guard 的 drop 位置
优化 EventEmitter 和 Context 中的 once 方法实现
移除 Sidebar.tsx 和 OOBE.tsx 中未使用的代码
格式化 MCP 使用文档和规则文件
This commit is contained in:
Yukino_fox
2026-03-22 19:26:35 +08:00
parent 63dda3e043
commit 5be6bd09d2
11 changed files with 26 additions and 31 deletions
+3 -3
View File
@@ -228,10 +228,10 @@ jobs:
exit 1
fi
echo "使用 apksigner: $APKSIGNER"
# 创建临时密钥库文件
echo "$ANDROID_SIGNING_KEY" | base64 -d > /tmp/android_keystore.jks
# 找到所有未签名的 APK 文件
find src-tauri/gen/android/app/build/outputs -name "*-unsigned.apk" -type f | while read -r apk; do
# 生成签名后的文件名
@@ -255,7 +255,7 @@ jobs:
rm "$apk"
mv "$signed_apk" "${apk/-unsigned/}"
done
# 清理密钥库
rm -f /tmp/android_keystore.jks