修复 Tauri 图标缺失编译错误并补充 Agent 提交流程

This commit is contained in:
JSR
2026-03-18 17:38:40 +08:00
parent 29de08ca32
commit 4f6d1b7753
3 changed files with 13 additions and 4 deletions
+11
View File
@@ -0,0 +1,11 @@
# Agent Collaboration Rules
## 提交规范
- 每次代码改动都必须使用中文 `commit message`
- 完成提交后必须推送到远程仓库对应分支(`git push`)。
## 执行流程
1. 完成代码修改。
2. 自检并确保可构建/可运行。
3. 使用中文提交信息执行 `git commit`
4. 立即执行 `git push` 推送远程。
+1
View File
@@ -18,6 +18,7 @@ pub async fn register_url_protocol(
app: AppHandle,
_state: tauri::State<'_, Arc<RwLock<AppState>>>,
) -> Result<IpcResponse<RegisterUrlProtocolResult>, String> {
#[cfg(target_os = "windows")]
let protocol = "secscore";
#[cfg(target_os = "windows")]
+1 -4
View File
@@ -42,10 +42,7 @@
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.png",
"icons/icon.ico"
],
"windows": {