Skip to content

feat(tauri): add macOS DMG configuration and background image - #557

Merged
su-fen merged 1 commit into
Stack-Cairn:mainfrom
Loosand:main
Aug 19, 2026
Merged

feat(tauri): add macOS DMG configuration and background image#557
su-fen merged 1 commit into
Stack-Cairn:mainfrom
Loosand:main

Conversation

@Loosand

@Loosand Loosand commented Aug 19, 2026

Copy link
Copy Markdown
Collaborator

关联 Issue

概述

为 LiveAgent 添加品牌化的 macOS DMG 安装界面。

本次改动使用自定义 Retina 背景图替换默认 DMG 展示效果,并调整 LiveAgent 应用图标和 Applications 文件夹的位置,使拖拽安装流程更加直观。

安装方式保持不变:用户仍然需要将 LiveAgent 拖入 Applications 文件夹。

改动范围

  • 涉及模块:agent-gui / src-tauri
  • 关键文件:
    • crates/agent-gui/src-tauri/tauri.conf.json
    • crates/agent-gui/src-tauri/dmg/background.png

主要改动:

  • tauri.conf.json 中添加 macOS DMG 配置。
  • 将 DMG 窗口尺寸设置为 660 × 400
  • 将 LiveAgent 应用图标定位到 (180, 210)
  • 将 Applications 文件夹定位到 (480, 210)
  • 添加 1320 × 800、144 DPI 的 Retina DMG 背景图。

截图 / 运行预览

修改后

62be5ad88bdae95ce0bb088064bf601f

验证方式

  • 前端生产构建通过:

    pnpm --dir crates/agent-gui build
    

- Introduced macOS DMG settings in tauri.conf.json, including custom background image and window/app positioning.
- Added a new background image for the DMG installer.
@StackCairn
StackCairn marked this pull request as draft August 19, 2026 08:27
@github-actions

Copy link
Copy Markdown
Contributor

PR governance checks failed — this PR has been converted to draft.

  • No linked issue: the PR body must contain Closes #123 / Fixes #123 / Resolves #123. This project requires an issue before a PR — see the contribution guidelines.

Fix the items above, then click Ready for review to re-run the checks.

@Loosand
Loosand marked this pull request as ready for review August 19, 2026 08:28
@StackCairn
StackCairn marked this pull request as draft August 19, 2026 08:28
@Loosand
Loosand marked this pull request as ready for review August 19, 2026 08:28
@StackCairn
StackCairn marked this pull request as draft August 19, 2026 08:28
@Loosand
Loosand requested a review from su-fen August 19, 2026 08:28
@Loosand
Loosand marked this pull request as ready for review August 19, 2026 08:30
@StackCairn
StackCairn marked this pull request as draft August 19, 2026 08:31
@su-fen su-fen added the governance-exempt Skip PR governance checks label Aug 19, 2026
@su-fen
su-fen marked this pull request as ready for review August 19, 2026 08:44
@su-fen
su-fen merged commit 66b2da6 into Stack-Cairn:main Aug 19, 2026
8 of 13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

governance-exempt Skip PR governance checks

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants