Issues #25112: py.exe launcher is missing icons
This commit is contained in:
parent
452498a128
commit
5f62112db4
|
@ -153,6 +153,8 @@ Build
|
||||||
Windows
|
Windows
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issues #25112: py.exe launcher is missing icons
|
||||||
|
|
||||||
- Issue #25102: Windows installer does not precompile for -O or -OO.
|
- Issue #25102: Windows installer does not precompile for -O or -OO.
|
||||||
|
|
||||||
- Issue #25081: Makes Back button in installer go back to upgrade page when
|
- Issue #25081: Makes Back button in installer go back to upgrade page when
|
||||||
|
|
|
@ -1,51 +1,50 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
|
|
||||||
#define MS_WINDOWS
|
#include "python_ver_rc.h"
|
||||||
#include "..\Include\modsupport.h"
|
|
||||||
#include "..\Include\patchlevel.h"
|
|
||||||
#ifdef _DEBUG
|
|
||||||
# include "pythonnt_rc_d.h"
|
|
||||||
#else
|
|
||||||
# include "pythonnt_rc.h"
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#define PYTHON_VERSION PY_VERSION "\0"
|
// Include the manifest file that indicates we support all
|
||||||
#define PYVERSION64 PY_MAJOR_VERSION, PY_MINOR_VERSION, FIELD3, PYTHON_API_VERSION
|
// current versions of Windows.
|
||||||
|
#include <winuser.h>
|
||||||
|
1 RT_MANIFEST "python.manifest"
|
||||||
|
|
||||||
|
1 ICON DISCARDABLE "launcher.ico"
|
||||||
|
2 ICON DISCARDABLE "py.ico"
|
||||||
|
3 ICON DISCARDABLE "pyc.ico"
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Version
|
||||||
|
//
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION PYVERSION64
|
FILEVERSION PYVERSION64
|
||||||
PRODUCTVERSION PYVERSION64
|
PRODUCTVERSION PYVERSION64
|
||||||
FILEFLAGSMASK 0x17L
|
FILEFLAGSMASK 0x3fL
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
FILEFLAGS 0x1L
|
FILEFLAGS VS_FF_DEBUG
|
||||||
#else
|
#else
|
||||||
FILEFLAGS 0x0L
|
FILEFLAGS 0x0L
|
||||||
#endif
|
#endif
|
||||||
FILEOS 0x4L
|
FILEOS VOS__WINDOWS32
|
||||||
FILETYPE 0x1L
|
FILETYPE VFT_APP
|
||||||
FILESUBTYPE 0x0L
|
FILESUBTYPE 0x0L
|
||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "StringFileInfo"
|
BLOCK "StringFileInfo"
|
||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "080904b0"
|
BLOCK "000004b0"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Comments", "Python Launcher for Windows"
|
VALUE "CompanyName", PYTHON_COMPANY "\0"
|
||||||
VALUE "CompanyName", "Python Software Foundation"
|
VALUE "FileDescription", "Python\0"
|
||||||
VALUE "FileDescription", "Python Launcher for Windows (Console)"
|
|
||||||
VALUE "FileVersion", PYTHON_VERSION
|
VALUE "FileVersion", PYTHON_VERSION
|
||||||
VALUE "InternalName", "py"
|
VALUE "InternalName", "Python Launcher\0"
|
||||||
VALUE "LegalCopyright", "Copyright (C) 2011-2014 Python Software Foundation"
|
VALUE "LegalCopyright", PYTHON_COPYRIGHT "\0"
|
||||||
VALUE "OriginalFilename", "py"
|
VALUE "OriginalFilename", "py" PYTHON_DEBUG_EXT ".exe\0"
|
||||||
VALUE "ProductName", "Python Launcher for Windows"
|
VALUE "ProductName", "Python\0"
|
||||||
VALUE "ProductVersion", PYTHON_VERSION
|
VALUE "ProductVersion", PYTHON_VERSION
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
BLOCK "VarFileInfo"
|
BLOCK "VarFileInfo"
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "Translation", 0x809, 1200
|
VALUE "Translation", 0x0, 1200
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
|
||||||
IDI_ICON1 ICON "launcher.ico"
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue