LumoBot 使用文档

欢迎使用 LumoBot!本文档将帮助您快速上手并充分利用 LumoBot 的强大功能。

快速开始

LumoBot 是一款智能自动化工具,支持多平台运行,具有自动更新、版本管理等强大功能。

主要特性

  • 自动版本检测和更新
  • 多平台支持 (Windows, macOS, Linux)
  • 增量更新支持
  • 安全的文件下载和验证
  • 详细的下载统计和分析

安装指南

Windows 安装

  1. 1
    下载安装包:下载页面获取 Windows 版本
  2. 2
    运行安装程序:右键点击下载的 .exe 文件,选择"以管理员身份运行"
  3. 3
    完成安装:按照安装向导的提示完成安装过程
  4. 4
    首次运行:安装完成后,程序会自动检查更新

macOS 安装

  1. 1
    选择版本:根据您的 Mac 芯片类型选择对应版本
    • • Intel 芯片:选择 Intel 版本
    • • Apple Silicon (M1/M2):选择 Apple Silicon 版本
  2. 2
    解压文件:下载完成后,解压 zip 文件
  3. 3
    移动应用:将 LumoBot.app 拖拽到"应用程序"文件夹
  4. 4
    安全设置:首次运行时,可能需要在"系统偏好设置 > 安全性与隐私"中允许运行

Linux 安装

  1. 1
    下载二进制文件:获取适合您系统的 Linux 版本
  2. 2
    添加执行权限:
    chmod +x lumobot
  3. 3
    运行程序:
    ./lumobot
  4. 4
    添加到 PATH(可选):
    sudo mv lumobot /usr/local/bin/

配置说明

基本配置

LumoBot 支持通过配置文件或命令行参数进行配置。配置文件位于:

  • Windows: %APPDATA%\LumoBot\config.json
  • macOS: ~/Library/Application Support/LumoBot/config.json
  • Linux: ~/.config/lumobot/config.json

配置文件示例

{
  "server_url": "https://api.lumobot.com",
  "auto_update": true,
  "check_interval": 3600,
  "download_path": "./downloads",
  "log_level": "info"
}

API 参考

版本管理 API

获取最新版本

GET /api/version/latest

curl -X GET "https://api.lumobot.com/api/version/latest?platform=windows&architecture=amd64"

检查更新

GET /api/version/check

curl -X GET "https://api.lumobot.com/api/version/check?current_version=1.0.0&platform=windows"

下载版本

GET /api/version/download/:version

curl -X GET "https://api.lumobot.com/api/version/download/1.0.1?platform=windows&architecture=amd64"

使用示例

命令行使用

检查版本

lumobot --version

检查更新

lumobot --check-update

手动更新

lumobot --update

常见问题

如何禁用自动更新?

在配置文件中设置 "auto_update": false 或使用命令行参数 --no-auto-update

更新失败怎么办?

请检查网络连接,确保有足够的磁盘空间,或尝试手动下载最新版本进行安装。

支持哪些操作系统?

目前支持 Windows 10/11、macOS 10.15+ 和主流 Linux 发行版。