How to add/modify an icon of a module (ScriptedLoadableModule)?

You can change the icon of a scripted module by placing a new icon in this location: “MODULE_DIR\Resources\Icons\MODULE_NAME.png”.

For reference, here is the icon for the SegmentEditor module icon: https://github.com/Slicer/Slicer/blob/master/Modules/Scripted/SegmentEditor/Resources/Icons/SegmentEditor.png