I’m aware this has been the case since Windows 3.x, you always need an external program to ensure the executable is created with the icon you want. Why?

Please no mentions of Linux and other OSs, I know it’s trivial to do so for them.

You are viewing a single thread.
View all comments
12 points

Create a shortcut and choose your icon.

permalink
report
reply
0 points

I don’t want a shortcut, I want the binary with a different icon. Programs compiled “from scratch” don’t have an icon and a shortcut is useless when a separate person downloads the binary in “the wrong folder”.

permalink
report
parent
reply
10 points

Programs compiled “from scratch” don’t have an icon…

As someone that wrote Windows applications for a living, that’s wrong. You just have to add a resource file and your icon.

permalink
report
parent
reply
1 point

You add the icon to resource file when compiling don’t you?

I don’t remember it being much of a chore. But it’s been a while since I created a desktop app.

I’m fairly sure Linux requires a separate file to specify the icon as well doesn’t it?

permalink
report
parent
reply

No Stupid Questions (Developer Edition)

!no_stupid_questions@programming.dev

Create post

This is a place where you can ask any programming / topic related to the instance questions you want!

For a more general version of this concept check out !nostupidquestions@lemmy.world

Icon base by Lorc under CC BY 3.0 with modifications to add a gradient

Community stats

  • 1

    Monthly active users

  • 32

    Posts

  • 105

    Comments

Community moderators