Although the icon may be hidden from Dock and Command+Tab application switcher (e.g., syncthingtray), it still appears in Launchpad and Finder.
I didn't use a default path for PNG_ICON_PATH like WindowsResource.cmake to avoid more code duplication. Maybe that feature should be extracted as a function.
Although the icon may be hidden from Dock and Command+Tab application switcher (e.g., syncthingtray), it still appears in Launchpad and Finder.
I didn't use a default path for
PNG_ICON_PATH
likeWindowsResource.cmake
to avoid more code duplication. Maybe that feature should be extracted as a function.The
png2icns
command is from libicns [1].[1] https://icns.sourceforge.io/