Skip to content
Greg Neagle edited this page Dec 9, 2023 · 1 revision

Tool for importing icons into a Munki repo

Introduction

iconimporter can help you populate icons for your Munki repo. Product-specific icons make Managed Software Center's display more professional and more user-friendly.

Details

Tool: iconimporter

Usage: iconimporter [options] [/path/to/repo_root]

Options:

  -h, --help            show the help message and exit
  -f, --force           Create pngs even if there is an existing icon in the
                        repo.
  -i ITEMS, --item=ITEMS
                        Only run for given pkginfo item name(s).
  --plugin=PLUGIN       Optional. Custom plugin to connect to repo.
  --repo_url=REPO_URL, --repo-url=REPO_URL
                        Optional repo fileshare URL used by repo plugin.

Run with no options, iconimporter will process every item in your catalogs. For any item that has no icon, it will download the installer item and attempt to extract an icon from the item. In the case of a drag-n-drop application on a disk image, it will extract the icon from the application. For packages, it will extract the icons from every application in the package. You'll need to look over what it extracted and discard the icons that you don't want, and potentially rename the icon you do want.

When run with the -i/--item option; munkiimport will attempt to extract icons only for the named items.

Extracted icons are written to <munki_repo>/icons/. iconimporter will use the repo configured for munkiimport (if that is configured), or you can specify a repo using --repo_url.

Introduction

Munki 6.1

Munki 6

Munki 5

Managed Software Center

Command-line Tools

Munki configuration

Manifests

Catalogs

Pkginfo

More Munki Features

Advanced Munki

Related tasks

More

Product-specific notes

Legacy Documentation

Clone this wiki locally