2012-06-21 11:27:58 -03:00
|
|
|
#include <windows.h>
|
|
|
|
|
2015-09-22 22:20:58 -03:00
|
|
|
#include "python_ver_rc.h"
|
|
|
|
|
2021-11-09 16:12:53 -04:00
|
|
|
#ifndef RT_MANIFEST
|
|
|
|
// bpo-45220: Cannot reliably #include RT_MANIFEST from
|
|
|
|
// anywhere, so we hardcode it
|
|
|
|
#define RT_MANIFEST 24
|
|
|
|
#endif
|
2015-09-22 22:20:58 -03:00
|
|
|
// Include the manifest file that indicates we support all
|
|
|
|
// current versions of Windows.
|
|
|
|
1 RT_MANIFEST "python.manifest"
|
2012-06-21 11:27:58 -03:00
|
|
|
|
2018-12-10 22:52:57 -04:00
|
|
|
#if defined(PY_ICON)
|
|
|
|
1 ICON DISCARDABLE "icons\python.ico"
|
|
|
|
#elif defined(PYW_ICON)
|
|
|
|
1 ICON DISCARDABLE "icons\pythonw.ico"
|
|
|
|
#else
|
2016-09-05 18:05:17 -03:00
|
|
|
1 ICON DISCARDABLE "icons\launcher.ico"
|
|
|
|
2 ICON DISCARDABLE "icons\py.ico"
|
|
|
|
3 ICON DISCARDABLE "icons\pyc.ico"
|
|
|
|
4 ICON DISCARDABLE "icons\pyd.ico"
|
|
|
|
5 ICON DISCARDABLE "icons\python.ico"
|
|
|
|
6 ICON DISCARDABLE "icons\pythonw.ico"
|
|
|
|
7 ICON DISCARDABLE "icons\setup.ico"
|
2018-12-10 22:52:57 -04:00
|
|
|
#endif
|
2015-09-22 22:20:58 -03:00
|
|
|
|
2022-03-28 20:21:08 -03:00
|
|
|
1 USAGE "launcher-usage.txt"
|
|
|
|
|
|
|
|
|
2015-09-22 22:20:58 -03:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
//
|
|
|
|
// Version
|
|
|
|
//
|
2012-06-21 11:27:58 -03:00
|
|
|
|
|
|
|
VS_VERSION_INFO VERSIONINFO
|
|
|
|
FILEVERSION PYVERSION64
|
|
|
|
PRODUCTVERSION PYVERSION64
|
2015-09-22 22:20:58 -03:00
|
|
|
FILEFLAGSMASK 0x3fL
|
2012-06-21 11:27:58 -03:00
|
|
|
#ifdef _DEBUG
|
2015-09-22 22:20:58 -03:00
|
|
|
FILEFLAGS VS_FF_DEBUG
|
2012-06-21 11:27:58 -03:00
|
|
|
#else
|
|
|
|
FILEFLAGS 0x0L
|
|
|
|
#endif
|
2015-09-22 22:20:58 -03:00
|
|
|
FILEOS VOS__WINDOWS32
|
|
|
|
FILETYPE VFT_APP
|
2012-06-21 11:27:58 -03:00
|
|
|
FILESUBTYPE 0x0L
|
|
|
|
BEGIN
|
|
|
|
BLOCK "StringFileInfo"
|
|
|
|
BEGIN
|
2015-09-22 22:20:58 -03:00
|
|
|
BLOCK "000004b0"
|
2012-06-21 11:27:58 -03:00
|
|
|
BEGIN
|
2015-09-22 22:20:58 -03:00
|
|
|
VALUE "CompanyName", PYTHON_COMPANY "\0"
|
|
|
|
VALUE "FileDescription", "Python\0"
|
2012-06-21 11:27:58 -03:00
|
|
|
VALUE "FileVersion", PYTHON_VERSION
|
2015-09-22 22:20:58 -03:00
|
|
|
VALUE "InternalName", "Python Launcher\0"
|
|
|
|
VALUE "LegalCopyright", PYTHON_COPYRIGHT "\0"
|
|
|
|
VALUE "OriginalFilename", "py" PYTHON_DEBUG_EXT ".exe\0"
|
|
|
|
VALUE "ProductName", "Python\0"
|
2012-06-21 11:27:58 -03:00
|
|
|
VALUE "ProductVersion", PYTHON_VERSION
|
|
|
|
END
|
|
|
|
END
|
|
|
|
BLOCK "VarFileInfo"
|
|
|
|
BEGIN
|
2015-09-22 22:20:58 -03:00
|
|
|
VALUE "Translation", 0x0, 1200
|
2012-06-21 11:27:58 -03:00
|
|
|
END
|
2015-09-22 22:20:58 -03:00
|
|
|
END
|