this post was submitted on 25 Aug 2023
13 points (84.2% liked)

No Stupid Questions (Developer Edition)

934 readers
1 users here now

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

founded 1 year ago
MODERATORS
 

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 comment's thread
view the rest of the comments
[–] ICastFist@programming.dev -1 points 1 year ago (2 children)

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".

[–] FishInABarrel@kbin.social 8 points 1 year ago

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.

[–] Lmaydev@programming.dev 1 points 1 year ago

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?