如何定义 Shoes 应用程序图标?

发布于 2024-07-29 22:22:44 字数 140 浏览 7 评论 0原文

我已经在鞋子中创建了一个应用程序,.dmg(.app) 和 .exe 版本可以在各自的目标系统上工作,但是如何控制用于可执行文件的图标?

我只是找不到任何关于此的文档。 我计划使用许多有用的鞋子应用程序,并希望有不同的图标来在视觉上区分它们。

I have created an application in shoes and the .dmg(.app) and .exe version work on there respective target systems, but how do I control the icon that is used for the executable files?

I just can't find any documentation on this. I plan on using many little helpful shoes applications and would like to have different icons to visually distinguish between them.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

无所谓啦 2024-08-05 22:22:46

如果我为不同大小的图标准备图像(未压缩的 tiff)。 对于 OS X 10.5:
512x512
256x256
128x128
32x32
16x16

然后我可以使用 /Developer/Applications/Utilities/Icon Composer.app (包含在 xCode< /a>)创建 .icns

IcoFX 然后可以使用(在 Windows 上)将 icns 转换为 windows 。 icn。

现在我有了 Mac 图标和 Windows 图标。

对于 Mac 上的 DMG,我从 Shoes 创建的 .dmg 中取出 .app。 我通过右键单击“显示包内容”打开 .app 作为文件夹,然后替换 Shoes.icns 和 /Resources/Shoes.icns

然后需要将应用程序重新打包到 dmg 中进行分发,我可以使用 iDMG 并添加 icns 作为 dmg 的图标。

对于 Windows 上的 EXE,我可以使用 IcoFX 资源编辑器 更改嵌入图标 (.icn)

我的 .dmg (& .app) 和 .exe 都采用新图标的外观。
在执行之前,标准鞋子图标会出现在 Mac Dock 上、窗口框架和 Windows 任务栏的左上角。

我不确定该图标是否与鞋子图标相同,因为它实际上是正在运行应用程序的鞋子,或者因为 .app 和 .exe 是维护鞋子徽标的嵌入式 .shy 文件的包装器。

IF I prepare my images (uncompressed tiffs) for the different size of icons. For OS X 10.5:
512x512
256x256
128x128
32x32
16x16

I can then use /Developer/Applications/Utilities/Icon Composer.app (Included with the xCode) to create an .icns

IcoFX can then be used (on Windows) to convert the icns to a windows .icn.

So I now I have got my Mac Icon and my Windows Icon.

For the DMG on the Mac I take the .app out of the .dmg that shoes creates. I open the .app as folder by right-clicking 'Show Package Contents' then replace the Shoes.icns and /Resources/Shoes.icns

The app then need to be repacked in a dmg for distribution I could use iDMG and also add the icns as an icon for the dmg.

For the EXE on Windows I can use IcoFX Resource Editor to change the embedded icon (.icn)

My .dmg (& .app) and .exe all take on the appearance of the new icon.
Until execution then the standard shoes icon appears, on the mac dock, in the upper left of the windows frame and the windows task bar.

I am unsure if the icon stays the same as the shoes icon because it is actually shoes that is running the application or because the .app and the .exe are wrappers for an embedded .shy file which maintains the shoes logo.

意犹 2024-08-05 22:22:45

不是来自鞋子,不。 我会让_为什么他自己回答这个问题:

<块引用>

1 - 更改应用程序图标! 怎么做?

您需要使用像IcoFX这样的工具。
http://icofx.ro/ 最终,我
想让这变得更加自动化,但是
这会很有挑战性,因为你会
还是需要设计几个不同的
像素大小。

Not from Shoes, no. I'll let _why himself answer this one:

1 - changing the application icon! how to?

You'll need to use a tool like IcoFX.
http://icofx.ro/ Eventually, I'd
like to make this more automatic, but
it'll be challenging because you'll
still need to design several different
pixel sizes.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文