I don't recall us making any changes here and add-on icons seem to be generally working.
We might need some clarification here as to how the icons are defined. You mention setup.php
but the only supported way of defining add-ons is addon.json
.
What value are you using in the file? If you check the page source what URL is being written out for the icon? And is there any errors showing in the browser console?