5a1c931f77
This commit introduces 8 more variants of the .ICO file, embeds the right ones into WindowsTerminal.exe, and adds code that will select the most appropriate icon at runtime. Since we're a Centennial application, the "application" icon inside our package isn't used by the shell for the taskbar thumbnails or the Alt-Tab window. To quote J. Tippet, > I believe there are two possible fixes: > > 1. Fix the OS shell to prefer the MRT icon instead of preferring the > win32 icon > 2. Add alternate versions of /res/terminal.ico > The 1st fix is clearly better, since it benefits any hybrid app. But > the 2nd fix is much easier, since it'd just take about an hour to gin up > a new .ico file and hack the .RC file to refer to it when building the > preview flavor. ... and to quote Michael Ratanapintha, > Basically, if your MSIX-packaged desktop app's image resources are > separate files or even separate MSIX packages, they may be loaded by > MRT. If they're embedded in the .exe, they're the old-fashioned Win32 > resources Mr. Tippet is referring to. This is the "2nd fix." Fixes #6777 Co-authored-by: Jeffrey Tippet <jtippet@ntdev.microsoft.com>
28 lines
766 B
C
28 lines
766 B
C
//{{NO_DEPENDENCIES}}
|
|
// Microsoft Visual C++ generated include file.
|
|
// Used by WindowsTerminal.rc
|
|
//
|
|
#define IDI_APPICON 101
|
|
#define IDI_APPICON_HC_BLACK 102
|
|
#define IDI_APPICON_HC_WHITE 103
|
|
|
|
#define IDS_ERROR_DIALOG_TITLE 105
|
|
#define IDS_HELP_DIALOG_TITLE 106
|
|
#define IDS_ERROR_ARCHITECTURE_FORMAT 110
|
|
#define IDS_X86_ARCHITECTURE 111
|
|
#define IDS_AMD64_ARCHITECTURE 112
|
|
#define IDS_ARM64_ARCHITECTURE 113
|
|
#define IDS_ARM_ARCHITECTURE 114
|
|
#define IDS_UNKNOWN_ARCHITECTURE 115
|
|
|
|
// Next default values for new objects
|
|
//
|
|
#ifdef APSTUDIO_INVOKED
|
|
#ifndef APSTUDIO_READONLY_SYMBOLS
|
|
#define _APS_NEXT_RESOURCE_VALUE 104
|
|
#define _APS_NEXT_COMMAND_VALUE 40001
|
|
#define _APS_NEXT_CONTROL_VALUE 1001
|
|
#define _APS_NEXT_SYMED_VALUE 101
|
|
#endif
|
|
#endif
|