Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我完成了一个程序,它有一个图标。当我双击 .app 时,它作为 java 应用程序出现在我的扩展坞中,而不是使用我为其选择的图标。我在雪豹上。如何使我为它选择的图标是扩展坞上的图标?
提前致谢。
您的 Info.plist(在应用程序包中)是否指定了一个图标?例如:
MyApp.app/Contents/Info.plist:
<key>CFBundleIconFile</key> <string>myicon.icns</string>
您的 .app 是否包含图标?例如:
MyApp.app/Contents/Resources/myicon.icns