> ## Documentation Index
> Fetch the complete documentation index at: https://manuals.autolibrary.kenanzhu.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 安装 AutoLibrary

> AutoLibrary 下载与安装指南 - Windows 与 macOS 平台

AutoLibrary 是一款专为北京建筑大学图书馆设计的自动化工具，帮助您简化图书馆座位操作流程，节省宝贵时间。工具完全模拟人工操作，通过简单的界面配置即可使用。

## 下载软件

请从 [AutoLibrary 下载页面](https://autolibrary.kenanzhu.com/downloads) 获取最新版本。

<Note>
  [**GitHub Releases**](https://github.com/KenanZhu/AutoLibrary/releases)：更新较为及时，但网络连接不稳定，速度较慢。

  **云盘链接**：版本更新略有延迟，但下载速度更快。
</Note>

## 安装类型

### Windows

<Note>
  从 v1.1.0 版本开始，提供两种版本可供选择：
</Note>

<Tabs>
  <Tab title="压缩包版本">
    解压下载好的压缩包文件到任意位置，双击运行其中的 `AutoLibrary.exe` 即可启动工具。

    <Warning>
      压缩包内的 `_internal` 文件夹与 `AutoLibrary.exe` 可执行文件需要位于同一目录下，请勿修改或移动这两个文件，否则可能导致工具无法正常运行。
    </Warning>
  </Tab>

  <Tab title="安装器版本">
    双击运行安装程序，按照步骤提示进行安装。安装完成后即可在桌面快捷方式或开始菜单中找到 AutoLibrary。
  </Tab>
</Tabs>

### macOS

<Note>
  AutoLibrary 的官方发布版本仅适用于 macOS Apple Silicon 系统及其架构。
</Note>

<Steps>
  <Step title="下载 DMG 镜像">
    从下载页面获取 `AutoLibrary.<版本号>-macos-arm64.dmg` 文件。

    <Info>
      目前仅提供 Apple Silicon (M 系列芯片) 版本。如果你使用 Intel 芯片的 Mac，请从源码自行构建，详见 [GitHub 仓库](https://github.com/KenanZhu/AutoLibrary) README 中的构建说明。
    </Info>
  </Step>

  <Step title="安装应用">
    双击打开 `.dmg` 文件，将 `AutoLibrary.app` 拖入 `Applications` 文件夹。

    <img src="https://mintcdn.com/none-50cb40a8/B8z8g2vTnxorHZt9/images/v1.4.0/macos-dmg-install.png?fit=max&auto=format&n=B8z8g2vTnxorHZt9&q=85&s=e3e0863bc6a4252113ba2e4da5cf6c82" alt="macOS DMG 安装界面" width="550" height="436" data-path="images/v1.4.0/macos-dmg-install.png" />
  </Step>

  <Step title="首次启动（需绕过门禁）">
    由于应用未经过 Apple 官方代码签名认证，首次启动时 macOS 可能会阻止运行。请按以下步骤操作：

    1. 双击 `AutoLibrary.app`，系统弹出 "**未打开 "AutoLibrary"**" 提示后点击 \[**完成**]

           <img src="https://mintcdn.com/none-50cb40a8/B8z8g2vTnxorHZt9/images/v1.4.0/macos-gatekeeper-unauth.png?fit=max&auto=format&n=B8z8g2vTnxorHZt9&q=85&s=c917f655335364c4f1cbcf48ae49039c" alt="macOS GateKeeper 无法验证开发者" width="260" height="235" data-path="images/v1.4.0/macos-gatekeeper-unauth.png" />

    2. 打开系统 \[**设置**] → \[**隐私与安全性**]

    3. 在页面底部 \[**安全性**] 找到关于 AutoLibrary 的拦截提示，点击右侧的 \[**仍要打开**]

           <img src="https://mintcdn.com/none-50cb40a8/B8z8g2vTnxorHZt9/images/v1.4.0/macos-privacy-security-still-open.png?fit=max&auto=format&n=B8z8g2vTnxorHZt9&q=85&s=eb013f4b8ae6b04d16a63412bc7c9830" alt="macOS 隐私与安全性 仍要打开" width="482" height="362" data-path="images/v1.4.0/macos-privacy-security-still-open.png" />

    4. 在弹出的对话框中再次确认 \[**仍要打开**]

           <img src="https://mintcdn.com/none-50cb40a8/B8z8g2vTnxorHZt9/images/v1.4.0/macos-reconfirm-open.png?fit=max&auto=format&n=B8z8g2vTnxorHZt9&q=85&s=26558fe984211539df9a88424f3bf2dd" alt="macOS 再次确认打开" width="260" height="319" data-path="images/v1.4.0/macos-reconfirm-open.png" />

    <Tip>
      此操作只需执行一次，之后即可正常双击启动。
    </Tip>

    <Note>
      右键点击 → \[**打开**] 的方式在某些 macOS 版本中可能不生效，建议优先使用上述方法。
    </Note>
  </Step>
</Steps>
