Customize Applescript app icon

前端 未结 3 1795
鱼传尺愫
鱼传尺愫 2021-02-02 03:02

I have created my AppleScript, tested it, saved it as an .app and it works.

Now, how do I set a custom icon for it?

I have done a bit of googling and tried a fe

3条回答
  •  南笙
    南笙 (楼主)
    2021-02-02 03:44

    • Basically you need an .icns icon file.
    • Open your application with right-click > Show Package Contents
    • Navigate to Contents > Resources
    • Delete applet.icns
    • Drag the custom icon file into the Resources folder
    • Rename the icon file in Resources to applet.icns
    • To update the icon appearance open and re-save the applet in Script Editor.

提交回复
热议问题