Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added version info for Windows

  • Loading branch information...
commit 2403c00e59c8f4843f60060520728666fe9eb4f7 1 parent 8ba3c52
@Vitallium Vitallium authored committed
Showing with 27 additions and 1 deletion.
  1. +27 −1 src/phantomjs_win.rc
View
28 src/phantomjs_win.rc
@@ -1 +1,27 @@
-IDI_ICON1 ICON DISCARDABLE "phantomjs_win.ico"
+IDI_ICON1 ICON DISCARDABLE "phantomjs_win.ico"
+
+#include <windows.h>
+#include "consts.h"
+
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION PHANTOMJS_VERSION_MAJOR,PHANTOMJS_VERSION_MINOR,PHANTOMJS_VERSION_PATCH
+PRODUCTVERSION PHANTOMJS_VERSION_MAJOR,PHANTOMJS_VERSION_MINOR,PHANTOMJS_VERSION_PATCH
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904E4"
+ BEGIN
+ VALUE "FileDescription", "PhantomJS is a headless WebKit with JavaScript API"
+ VALUE "FileVersion", PHANTOMJS_VERSION_STRING
+ VALUE "LegalCopyright", "Copyright (C) Ariya Hidayat 2012"
+ VALUE "OriginalFilename", "phantomjs.exe"
+ VALUE "ProductName", "PhantomJS"
+ VALUE "ProductVersion", PHANTOMJS_VERSION_STRING
+ END
+ END
+
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1252
+ END
+END
Please sign in to comment.
Something went wrong with that request. Please try again.