Skip to main content

Changing the App Icon for an In-House macOS App in Jamf School

Updated over 2 weeks ago

Description

There is currently no built-in way to modify the icon of an in-house app directly from the Jamf School details page. However, the following workflow provides a method for creating a custom app icon before deploying it via Jamf School.

Creating a Package in Composer with the App Icon

To change the icon for an in-house app:

  1. Follow steps 1-7 on the Web Clips in the Jamf School Documentation to create the .app file.

  2. Download and save the desired icon to the desktop of the computer.

  3. Open Terminal and run the following command, replacing <username> with the local account username:

    cd /Users/<username>/Desktop

  4. Set the Variables in Terminal:

    input=icon.png output=applet.iconset

  5. Create a Directory for the Iconset:

    mkdir $output

  6. Run the following commands in Terminal to create the resized icons:

    sips -z 16 16 $input --out "${output}/icon_16x16.png" sips -z 32 32 $input --out "${output}/icon_16x16@2x.png" sips -z 32 32 $input --out "${output}/icon_32x32.png" sips -z 64 64 $input --out "${output}/icon_32x32@2x.png" sips -z 128 128 $input --out "${output}/icon_128x128.png" sips -z 256 256 $input --out "${output}/icon_128x128@2x.png" sips -z 256 256 $input --out "${output}/icon_256x256.png" sips -z 512 512 $input --out "${output}/icon_256x256@2x.png" sips -z 512 512 $input --out "${output}/icon_512x512.png"

  7. Create the ICNS file:

    iconutil -c icns $output

  8. Replace the applet.icns file in the .app package:

    1. Right-click the .app file and select Show Package Contents > Contents > Resources.

    2. Move the existing applet.icns file to the Trash.

    3. Drag the new applet.icns file (created in step 7) from the desktop into the Resources folder.​

  9. Apply the icon to the application:

    a. In Script Editor, select File > Open from the top menu bar.
    b. Open the .app file created in step 1.
    c. Select File > Save.

  10. Move the .app file to the desired location (Suggested locations include the Applications or Applications/Utilities folder.​)

  11. Open Composer and drag the .app file into the Sources column.

  12. Inspect the files present to ensure all needed items are there. Adjust permissions as needed and click Build as PKG in Composer.

  13. Upload the package to Jamf School and scope it to devices for deployment.

Feature Request

If this having this feature built in to Jamf School would be valuable to your organization, consider upvoting the feature request for “Custom Icon for In-House Enterprise app uploads” in the Jamf Nation Ideas Portal.

Did this answer your question?