By the way, you can use resource hacker to change the icon of the program, so that it's not the default love one. (You won't have to do it from the code, either). It also has a command utility that can be automated. I use a custom-made batch script that builds the game, and uses resource hacker to change the icon and add version info.
Viewing post in 2th and 3th day + Technical stuff comments
I saw it in love2d docs and i installed it but i missed to change the icon at the final release, i will do it in the next build! For building i made a python script it creates the .love, makes the exe file, do all the tedious stuff to create mac os dist, and then release the build into itch.io using bulter, its very crazy, lot of time spend on that but its very cool, i will see how to implement resource hacker into it ;)