Reporting & DocumentationChinese

Auto Backup & Exit

Auto Backup & Exit gives you a single 'back up and quit Dragonfly' button: capture the current session's scene in one click, then quit Dragonfly — and optionally shut the computer down afterwards.

Updated 2026-07-26User manual

Auto Backup & Exit(自动备份并退出)

Dragonfly Prototype Apps · Auto Backup & Exit...

版本 1.0 · 2026-07-26


中文手册

目录

1. 简介

2. 一次备份会包含什么

3. 两个按钮 / 退出与关机

4. 工作原理(技术路径)

5. 使用步骤

6. 环境需求

1. 简介

Auto Backup & Exit 提供一个“自动备份并退出 Dragonfly”的按钮:一键把当前会话的现场保存下来,然后退出 Dragonfly,甚至可选在退出后关机。

本功能由第三方(Prototype Labs / Prototype Apps)提供,非 Dragonfly 官方开发或支持。快速步骤全程在进程内完成,无需联网。关机功能默认关闭,需显式勾选并确认。

2. 一次备份会包含什么

勾选项

写入内容

会话快照

主窗口截图、各视图截图、已发布对象清单(objects.txt)、以及保存的会话文件 session.ORSSession

对象关系图(PNG)

复用 Show Connections 插件绘制的对象关系图,保存为 object_connections.png

当前视图截图(PNG)

当前激活视图的截图 current_view.png

AI 工作日志

复用 WorkLog 插件与其本地大模型,把当天日志整理成 Markdown(仅在 WorkLog 已配置时运行)

每次运行都会在你选定的备份文件夹下创建一个带时间戳的子文件夹(例如 backup_20260726_180000),上述文件都写入该子文件夹。

3. 两个按钮 / 退出与关机

  • 仅备份(保持打开):只执行勾选的备份步骤,完成后打开该文件夹以供查看,不退出 Dragonfly。
  • 备份并退出 Dragonfly:先执行备份,弹出确认框,然后干净地退出 Dragonfly。因为刚刚已保存会话,退出时不会再弹保存提示。
  • 退出后关机(可选):勾选后,退出前会安排一次 Windows 关机(shutdown /s /t 60)。60 秒倒计时内可在命令行运行 shutdown /a 取消。

4. 工作原理(技术路径)

  • 复用而非重写:对象关系图直接调用 Show Connections 插件、AI 工作日志直接调用 WorkLog 插件;本插件在打包目录(GenericMenuItems)中自动定位这两个同级插件。
  • 线程模型:快速步骤(截图/保存会话/对象图)在界面线程执行;较慢的 AI 工作日志(本地大模型)在后台线程执行,不冻结界面。
  • 退出方式:使用事件循环的干净退出(QApplication.quit),而不是触发保存守卫的关闭流程——因为备份阶段已保存会话。

5. 使用步骤

1. 菜单 Prototype Apps ▸ Auto Backup & Exit… 打开面板。

2. 选择备份文件夹(默认 用户目录\DragonflyBackups)。

3. 勾选需要包含的内容(会话快照 / 对象关系图 / 当前视图截图 / AI 工作日志;是否退出后关机)。

4. 点“仅备份”只备份不退出;或点“备份并退出 Dragonfly”,确认后自动备份并退出(如勾选,再关机)。

6. 环境需求

快速步骤无需安装/联网/GPU/虚拟环境。对象关系图需随包安装 Show Connections 插件;AI 工作日志需随包安装 WorkLog 插件并完成其一次性配置(本地模型 + 虚拟环境),未配置时该步自动跳过。关机为 Windows 专用。

You’ve reached the end of this manual.Explore the library →

PROTOTYPE APPS

Manual assistant

Find an app, understand a parameter, or follow a workflow. Answers include links to the manuals.

Questions and answers are saved long-term to your account. You and site administrators can view them; they may be reviewed to improve the product. Do not submit passwords or confidential data.

All models share a daily allowance. Larger models use more. Chat pauses at the daily protection limit; manual search remains available.

Search the manuals

Cloudflare AI receives your question, recent conversation and relevant public manual excerpts. Records are stored privately in Cloudflare R2 without automatic expiry. Check the cited manual before acting on an answer.