While I like the new icon, in case someone wants to change it to one of the other proposed variations (or something else):
in 3.40
\Settings\OneCommanderV3.json
has key value for
CustomIconPath
if someone wants to put path to the custom program icon
(program has to be completely closed when editing this file)
The additional icons from the voting in the previous months are placed in
\Resources\ProgramIconsInstall
The icon will show ONLY when program is running and IN TASKBAR (not program title bar).
If you want to set it also for program icon on desktop, you have to do it from the icon properties and manually assigning program icon.
For pinned icon when program is not open, it is more complicated.
Additional Experimental (abandoned and messy) workflow:
Warning, following can mess up OC icon and reinstall won't help as Windows caches program icons
in 3.41 I'll also add command line switch
onecommander.exe -fixtaskbaricons
that should reset those
DisableTaskbarGrouping
is also in the settings file, BUT this has been abandoned as this property store in Windows is buggy, but if someone really wants to experiment with it, this can be switched to True
If that is enabled and program is restarted
\Resources\ProgramIconsInstall
should become
\Resources\ProgramIcons
In that mode each named window can have its own icon
so if you have a window named "Work" you can put any .ico file in
\Resources\ProgramIcons
and name it "Work.ico" and program should load it when that window is opened.
Now, since that property store in Windows is buggy it may not update icon, and may work for new named windows only. That -fixtaskbaricons switch should fix those in 3.41, but with Windows it is not sure.
Be warned that this is obsolete function and this part won't be further improved as I can't justify additional time investment.
This is all because Windows has only one main program icon that cannot be changed officially, everything else would be improvisation.
Changing main program icon is not worth the trouble but there it is