Looks to work for me. Replace both calibre app icon and then with a 1024x1024:
calibre.app/Contents/Resources/resources/images/library.png
Maybe on macOS it could use whatever is set as app icon as other apps. Is this where it's done?
https://github.com/kovidgoyal/calibr...2/main.py#L135