Skip to content
This repository
Browse code

Added version info for Windows

  • Loading branch information...
commit 2403c00e59c8f4843f60060520728666fe9eb4f7 1 parent 8ba3c52
Vitaly Slobodin authored September 20, 2012 ariya committed September 24, 2012

Showing 1 changed file with 27 additions and 1 deletion. Show diff stats Hide diff stats

  1. 28  src/phantomjs_win.rc
28  src/phantomjs_win.rc
... ...
@@ -1 +1,27 @@
1  
-IDI_ICON1               ICON    DISCARDABLE     "phantomjs_win.ico"
  1
+IDI_ICON1               ICON    DISCARDABLE     "phantomjs_win.ico"
  2
+
  3
+#include <windows.h>
  4
+#include "consts.h"
  5
+
  6
+VS_VERSION_INFO VERSIONINFO
  7
+FILEVERSION     PHANTOMJS_VERSION_MAJOR,PHANTOMJS_VERSION_MINOR,PHANTOMJS_VERSION_PATCH
  8
+PRODUCTVERSION  PHANTOMJS_VERSION_MAJOR,PHANTOMJS_VERSION_MINOR,PHANTOMJS_VERSION_PATCH
  9
+BEGIN
  10
+    BLOCK "StringFileInfo"
  11
+    BEGIN
  12
+        BLOCK "040904E4"
  13
+        BEGIN
  14
+            VALUE "FileDescription",    "PhantomJS is a headless WebKit with JavaScript API"
  15
+            VALUE "FileVersion",        PHANTOMJS_VERSION_STRING            
  16
+            VALUE "LegalCopyright",     "Copyright (C) Ariya Hidayat 2012"
  17
+            VALUE "OriginalFilename",   "phantomjs.exe"
  18
+            VALUE "ProductName",        "PhantomJS"
  19
+            VALUE "ProductVersion",     PHANTOMJS_VERSION_STRING
  20
+        END
  21
+    END
  22
+
  23
+    BLOCK "VarFileInfo"
  24
+    BEGIN
  25
+        VALUE "Translation", 0x409, 1252
  26
+    END
  27
+END

0 notes on commit 2403c00

Please sign in to comment.
Something went wrong with that request. Please try again.