Skip to content

Gui - #1

Open
dacj4n wants to merge 8 commits into
masterfrom
gui
Open

Gui#1
dacj4n wants to merge 8 commits into
masterfrom
gui

Conversation

@dacj4n

@dacj4n dacj4n commented Mar 27, 2026

Copy link
Copy Markdown
Owner

No description provided.

dacj4n added 8 commits March 17, 2026 17:07
修改内容:
1. README.md: 去掉类似 Windows Everything 的描述
2. README_zh.md: 去掉类似 Windows Everything 的描述
3. doc/MacHunt使用指南.md: 去掉类似 Windows Everything 的描述
修改内容:
1. load_index_from_db: "从数据库加载索引..." → "Loading index from database..."
2. build_index: 所有中文输出改为英文
3. search_files: "搜索完成" → "Search completed"
4. watch: "历史回放完成" → "History playback completed"
5. real_time_search: "实时搜索模式" → "Real-time search mode"
6. main: "使用指定路径构建索引" → "Building index for specified path"
7. main: "首次运行" → "First run"
8. main: "从上次退出点恢复" → "Resuming from last exit point"
9. main: "后台校验中" → "Background validation"
10. main: "已保存 EventID" → "Saved EventID"
11. main: "错误:未找到索引" → "Error: Index not found"
12. search_regex: "正则表达式错误" → "Regex error"
13. cleanup_dead_paths_background: "[启动校验]" → "[Startup Validation]"
修改内容:
1. set_db_path: 数据库路径从 ./data/index.db 改为 ~/.machunt/index.db
2. init_logging: 日志路径从 ./logs/mac_find_*.log 改为 ~/.machunt/logs/machunt_*.log
3. 所有日志文件名从 mac_find 改为 machunt
修改前:
~/.machunt/
├── index.db

修改后:
~/.machunt/
├── data/
│   └── index.db
└── logs/
    └── machunt_*.log
dacj4n added a commit that referenced this pull request Jun 17, 2026
- db.rs: INSERT OR IGNORE 被跳过时检查 changes(),已有行返回正确 rowid
  避免 FTS 条目写到错误的文件 ID 上
- engine.rs: build_results 移除每个候选路径的 exists() stat 调用
  (#1 搜索期 CPU 消耗),改为后台懒 GC 每 2 小时清理死条目
- 新增 start_lazy_gc: 启动 10 分钟后首次运行,之后每 2 小时
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant