gpt4 book ai didi

cocoa - 如何在磁盘镜像卷上设置 Finder 窗口背景图像

转载 作者:行者123 更新时间:2023-12-03 16:55:58 31 4
gpt4 key购买 nike

通常为了分发一个简单的 cocoa 应用程序,我们对其发布文件夹进行 dmg 处理。当我们双击它时,它会安装其图像并显示一个不可编辑的窗口,其中包含 .app 和/或其他文件(例如 dSYM)。现在出现的不可编辑的窗口具有白色背景和其中的文件图标。

我的要求是:

To customize un-editable window such that I can display some images in background, change location and size of icons and customize other appearance features within it. eg. Skype, Growl install windows.

谁能建议我如何实现它?

谢谢

米拉杰

最佳答案

最便宜的方法是正常创建磁盘镜像,安装它,告诉 Finder 打开其窗口,并告诉 Finder 设置窗口的背景图片。这是the source code for the Growl project's script for this .

此解决方案的缺点是,在脚本运行时您几乎无法使用 Mac,以免脚本偏离轨道。

关于cocoa - 如何在磁盘镜像卷上设置 Finder 窗口背景图像,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3457275/

31 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com