summaryrefslogtreecommitdiffstats
path: root/PC/pyshellext.rc
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@microsoft.com>2016-07-16 23:17:33 (GMT)
committerSteve Dower <steve.dower@microsoft.com>2016-07-16 23:17:33 (GMT)
commitdf450d1a18ba668874a2353a3870ba99c4848a75 (patch)
tree93d41ac47ec98cfe8d8fe1cc5488efe36aef2ed5 /PC/pyshellext.rc
parent5f804e387ebc70effb61dc124f52acef357471b3 (diff)
downloadcpython-df450d1a18ba668874a2353a3870ba99c4848a75.zip
cpython-df450d1a18ba668874a2353a3870ba99c4848a75.tar.gz
cpython-df450d1a18ba668874a2353a3870ba99c4848a75.tar.bz2
Issue #27469: Adds a shell extension to the launcher so that drag and drop works correctly.
Diffstat (limited to 'PC/pyshellext.rc')
-rw-r--r--PC/pyshellext.rc46
1 files changed, 46 insertions, 0 deletions
diff --git a/PC/pyshellext.rc b/PC/pyshellext.rc
new file mode 100644
index 0000000..e5924a4
--- /dev/null
+++ b/PC/pyshellext.rc
@@ -0,0 +1,46 @@
+#include <windows.h>
+
+#include "python_ver_rc.h"
+
+// Include the manifest file that indicates we support all
+// current versions of Windows.
+#include <winuser.h>
+1 RT_MANIFEST "python.manifest"
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION PYVERSION64
+ PRODUCTVERSION PYVERSION64
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS VS_FF_DEBUG
+#else
+ FILEFLAGS 0x0L
+#endif
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_APP
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "000004b0"
+ BEGIN
+ VALUE "CompanyName", PYTHON_COMPANY "\0"
+ VALUE "FileDescription", "Python\0"
+ VALUE "FileVersion", PYTHON_VERSION
+ VALUE "InternalName", "Python Launcher Shell Extension\0"
+ VALUE "LegalCopyright", PYTHON_COPYRIGHT "\0"
+ VALUE "OriginalFilename", "pyshellext" PYTHON_DEBUG_EXT ".dll\0"
+ VALUE "ProductName", "Python\0"
+ VALUE "ProductVersion", PYTHON_VERSION
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x0, 1200
+ END
+END \ No newline at end of file