<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
    <channel>
        <title>Bash on 小景</title>
        <link>https://jingyuan-zheng.github.io/zh/tags/bash/</link>
        <description>Recent content in Bash on 小景</description>
        <generator>Hugo -- gohugo.io</generator>
        <language>zh</language>
        <copyright>Jingyuan Zheng</copyright>
        <lastBuildDate>Tue, 12 May 2026 20:10:17 +0800</lastBuildDate><atom:link href="https://jingyuan-zheng.github.io/zh/tags/bash/index.xml" rel="self" type="application/rss+xml" /><item>
            <title>Mac DMG 安装包怎么做？用 DMG Maker 自动生成带背景的安装镜像</title>
            <link>https://jingyuan-zheng.github.io/zh/p/dmg-maker-%E8%87%AA%E5%8A%A8%E5%8C%96%E5%88%9B%E5%BB%BA%E7%B2%BE%E7%BE%8E%E7%9A%84-macos-%E5%AE%89%E8%A3%85%E5%8C%85/</link>
            <pubDate>Tue, 12 May 2026 20:10:17 +0800</pubDate>
            <guid>https://jingyuan-zheng.github.io/zh/p/dmg-maker-%E8%87%AA%E5%8A%A8%E5%8C%96%E5%88%9B%E5%BB%BA%E7%B2%BE%E7%BE%8E%E7%9A%84-macos-%E5%AE%89%E8%A3%85%E5%8C%85/</guid>
            <description>&lt;img src=&#34;https://jingyuan-zheng.github.io/img/dmg-maker/featured.png&#34; alt=&#34;Featured image of post Mac DMG 安装包怎么做？用 DMG Maker 自动生成带背景的安装镜像&#34; /&gt;&lt;p&gt;本文介绍 DMG Maker，一个帮 macOS 小工具自动生成 DMG 安装包的脚本，适合需要背景图、图标摆放和快捷链接的分发场景。&lt;/p&gt;&#xA;&lt;p&gt;我刚刚开源了 &lt;strong&gt;DMG Maker&lt;/strong&gt;，这是一个旨在简化 macOS 专业安装包制作过程的小工具。&lt;/p&gt;&#xA;&lt;h2 id=&#34;为什么使用-dmg-maker&#34;&gt;为什么使用 DMG Maker？&#xA;&lt;/h2&gt;&lt;p&gt;手动制作带背景图的 DMG 通常需要编写复杂的 AppleScript 或者繁琐的 Finder 手动操作。DMG Maker 通过一行命令将这一切自动化。&lt;/p&gt;&#xA;&lt;h2 id=&#34;核心功能&#34;&gt;核心功能&#xA;&lt;/h2&gt;&lt;ul&gt;&#xA;&lt;li&gt;&lt;strong&gt;自动软链接&lt;/strong&gt;: 自动识别文件类型（如 &lt;code&gt;.dictionary&lt;/code&gt; 或 &lt;code&gt;.app&lt;/code&gt;）并链接到对应的系统目录。&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;自定义视觉&lt;/strong&gt;: 轻松应用背景图并根据坐标定位图标。&lt;/li&gt;&#xA;&lt;li&gt;&lt;strong&gt;开源&lt;/strong&gt;: 欢迎在 &lt;a class=&#34;link&#34; href=&#34;https://github.com/Jingyuan-Zheng/dmg-maker&#34;  target=&#34;_blank&#34; rel=&#34;noopener&#34;&#xA;    &gt;GitHub&lt;/a&gt; 上查看源码。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;快来尝试为你的项目制作精美的安装包吧！&lt;/p&gt;&#xA;&lt;h2 id=&#34;相关阅读&#34;&gt;相关阅读&#xA;&lt;/h2&gt;&lt;ul&gt;&#xA;&lt;li&gt;我在 &lt;a class=&#34;link&#34; href=&#34;https://jingyuan-zheng.github.io/zh/p/the-little-dict-macos/&#34; &gt;The Little Dict (Apple Dictionary 格式) - macOS 专用分享&lt;/a&gt; 里就用到了 DMG 分发词典文件，这类 &lt;code&gt;.dictionary&lt;/code&gt; 安装包很适合用 DMG 做引导。&lt;/li&gt;&#xA;&lt;li&gt;如果你想做更完整的 macOS 工具分发，也可以看 &lt;a class=&#34;link&#34; href=&#34;https://jingyuan-zheng.github.io/zh/p/abc-custom-keyboard/&#34; &gt;ABC Custom Keyboard：一把美式键盘覆盖多语言写作和学术符号&lt;/a&gt;。&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
        </item></channel>
</rss>
