microsoft / WSL-DistroLauncher

Sample/reference launcher app for WSL distro Microsoft Store packages.
MIT License
1.67k stars 517 forks source link

Load distro name and window caption from win32 resource #84

Open yumeyao opened 3 years ago

yumeyao commented 3 years ago

Load distro name and window caption strings from old-fashioned win32 resource(winrc).

This provide the launcher.exe with the ability to changing distro name with ease by replacing the strings with legacy 3rd-party tools such as ResHacker.

The distro name string is set as "language neutral" as it is the key going into registry which identifies a unique distro. The window caption string is set to English(US) to conform with message.mc/rc. EDIT: force-pushed to changing the IDS macro values in resource.h so that they have different high 28 bits and go into different string table sections.

It also contains a change to move the icon resource to "language neutral" from English(US).

ghost commented 3 years ago

CLA assistant check
All CLA requirements met.