mirror of
https://github.com/SECTL/SecScore.git
synced 2026-07-19 19:04:23 +08:00
修复 Tauri 图标缺失编译错误并补充 Agent 提交流程
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
# Agent Collaboration Rules
|
||||
|
||||
## 提交规范
|
||||
- 每次代码改动都必须使用中文 `commit message`。
|
||||
- 完成提交后必须推送到远程仓库对应分支(`git push`)。
|
||||
|
||||
## 执行流程
|
||||
1. 完成代码修改。
|
||||
2. 自检并确保可构建/可运行。
|
||||
3. 使用中文提交信息执行 `git commit`。
|
||||
4. 立即执行 `git push` 推送远程。
|
||||
@@ -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")]
|
||||
|
||||
@@ -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": {
|
||||
|
||||
Reference in New Issue
Block a user