docs: README 新增 Web 文件上传/PDF-Word 解析特性;完善打包构建文档

This commit is contained in:
root
2026-04-29 10:41:50 +08:00
parent ecb74cebff
commit cc5ea69eda
3 changed files with 8 additions and 12 deletions

View File

@ -116,22 +116,18 @@ python -m core.web_api --port 4096
## 打包构建
```bash
# Linux
bash build/build_linux.sh
# 安装依赖
pip install -r requirements.txt
# macOS
bash build/build_macos.sh
# Windows
build\build_windows.bat
# AppImage
bash build/build_appimage.sh
# 构建Linux / macOS
pyinstaller --clean build/trulymem.spec
```
构建产出:`dist/TrulyMEM`单文件TUI + Web 服务均内嵌于同一二进制)
> 📦 从 v2 开始Web 服务作为线程嵌入主程序,不再需要独立打包 `trulymem-web`。
>
> 💡 修改 `ui/static/` 或 `core/` 等源码后必须重新编译才能生效(静态文件在构建时打入二进制)。
---