{"id":29142294,"url":"https://github.com/ethanz-code/dmg-canvas-notes","last_synced_at":"2025-06-30T19:10:31.508Z","repository":{"id":287883534,"uuid":"965820590","full_name":"ethanz-code/dmg-canvas-notes","owner":"ethanz-code","description":"记录使用 DMG Canvas 构建 Mac 应用镜像的全过程。","archived":false,"fork":false,"pushed_at":"2025-04-14T12:18:38.000Z","size":56358,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-24T12:53:12.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Objective-C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ethanz-code.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-14T00:45:57.000Z","updated_at":"2025-04-14T12:18:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"0bd4b64d-e0b4-474c-b879-e142571e6105","html_url":"https://github.com/ethanz-code/dmg-canvas-notes","commit_stats":null,"previous_names":["yassine-zhang/dmg-canvas-notes","ethanz-code/dmg-canvas-notes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ethanz-code/dmg-canvas-notes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2Fdmg-canvas-notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2Fdmg-canvas-notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2Fdmg-canvas-notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2Fdmg-canvas-notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ethanz-code","download_url":"https://codeload.github.com/ethanz-code/dmg-canvas-notes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ethanz-code%2Fdmg-canvas-notes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262834822,"owners_count":23371854,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-30T19:10:26.685Z","updated_at":"2025-06-30T19:10:31.441Z","avatar_url":"https://github.com/ethanz-code.png","language":"Objective-C","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 介绍它\n\nDMG Canvas 是一款 macOS 平台上的图形化工具，用于创建专业、美观的 DMG 安装镜像文件（Disk Image 文件，通常用于分发 macOS 应用程序）。它的主要作用是让你****以可视化方式设计 DMG 文件的外观和行为****，从而为用户提供更好的安装体验。\n\n官网：[https://www.araelium.com/dmgcanvas](https://www.araelium.com/dmgcanvas)\n\n---\n\n### ✅ DMG Canvas 能做什么？\n\n- ****可视化编辑 DMG 布局****：拖拽应用图标、快捷方式、背景图像等，就像在 Finder 里操作一样；\n- ****设置背景图、图标位置和窗口大小****：自定义打开 DMG 时用户看到的布局；\n- ****生成代码签名和压缩后的 DMG 文件****：适配 Gatekeeper 和 macOS 的签名策略；\n- ****一键构建最终 DMG 文件****：自动化整个创建流程；\n- ****脚本支持****：可在构建流程中加入自动化脚本。\n\n---\n\n### 📦 使用场景举例\n\n你有一个 macOS 应用，比如 `MyApp.app`，希望打包为 `MyApp.dmg`，供用户下载安装。通过 DMG Canvas，你可以设置如下：\n\n- 将 MyApp.app 和 /Applications 的快捷方式并排放置；\n- 加一个背景图（比如 logo 和安装提示）；\n- 设置窗口尺寸和默认打开位置；\n- 一键导出 DMG，完成签名和压缩。\n\n---\n\n### 🔧 适合人群\n\n- macOS 应用开发者；\n- 需要分发独立应用的独立开发者或小团队；\n- 想要提升产品“第一印象”的人（安装包打开即体验感）；\n\n## 下载并安装DMG Canvas\n\n我用夸克网盘分享了「DMG Canvas [qq-57878778].dmg」，点击链接即可保存。打开「夸克APP」，无需下载在线播放视频，畅享原画5倍速，支持电视投屏。\n\n链接：[https://pan.quark.cn/s/427a81d26060](https://pan.quark.cn/s/427a81d26060)\n\n提取码：RGQJ\n\n## 温馨提示\n\u003e 在此仓库内已包含所需应用安装包以及背景图片等素材\n \n## 界面功能区域介绍\n\n### 基础页面结构\n\n![basic-page-structure](./doc/images/basic-page-structure.png)\n\n\n### 主要内容修整好之后\n\n![main-content](./doc/images/main-content.png)\n\n### 配置许可证\n\n![configure-license.png](./doc/images/configure-license.png)\n\n### 构建dmg镜像\n\n选择右上角小锤子构建，我这里测试重复构建的时候会报错：（此时需要退出重新打开）  \n\u003e Can't configure background image for DMG installation\n\n![build-log.png](./doc/images/build-log.png)\n\n## 构建产物演示\n\n![dmg-sc-1.png](./doc/images/dmg-sc-1.png)\n\n![dmg-sc-2.png](./doc/images/dmg-sc-2.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanz-code%2Fdmg-canvas-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fethanz-code%2Fdmg-canvas-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fethanz-code%2Fdmg-canvas-notes/lists"}