|
| 1 | +// Copyright Joyent, Inc. and other Node contributors. |
| 2 | +// |
| 3 | +// Permission is hereby granted, free of charge, to any person obtaining a |
| 4 | +// copy of this software and associated documentation files (the |
| 5 | +// "Software"), to deal in the Software without restriction, including |
| 6 | +// without limitation the rights to use, copy, modify, merge, publish, |
| 7 | +// distribute, sublicense, and/or sell copies of the Software, and to permit |
| 8 | +// persons to whom the Software is furnished to do so, subject to the |
| 9 | +// following conditions: |
| 10 | +// |
| 11 | +// The above copyright notice and this permission notice shall be included |
| 12 | +// in all copies or substantial portions of the Software. |
| 13 | +// |
| 14 | +// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS |
| 15 | +// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF |
| 16 | +// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN |
| 17 | +// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, |
| 18 | +// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR |
| 19 | +// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE |
| 20 | +// USE OR OTHER DEALINGS IN THE SOFTWARE. |
| 21 | + |
| 22 | +#include "winresrc.h" |
| 23 | +#include "node_version.h" |
| 24 | + |
| 25 | +// Version resource |
| 26 | +VS_VERSION_INFO VERSIONINFO |
| 27 | + FILEVERSION NODE_MAJOR_VERSION,NODE_MINOR_VERSION,NODE_PATCH_VERSION,0 |
| 28 | + PRODUCTVERSION NODE_MAJOR_VERSION,NODE_MINOR_VERSION,NODE_PATCH_VERSION,0 |
| 29 | + FILEFLAGSMASK 0x3fL |
| 30 | +#ifdef _DEBUG |
| 31 | + FILEFLAGS VS_FF_DEBUG |
| 32 | +#else |
| 33 | +# ifdef NODE_VERSION_IS_RELEASE |
| 34 | + FILEFLAGS 0x0L |
| 35 | +# else |
| 36 | + FILEFLAGS VS_FF_PRERELEASE |
| 37 | +# endif |
| 38 | +#endif |
| 39 | + |
| 40 | + FILEOS VOS_NT_WINDOWS32 |
| 41 | + FILETYPE VFT_APP |
| 42 | + FILESUBTYPE 0x0L |
| 43 | +BEGIN |
| 44 | + BLOCK "StringFileInfo" |
| 45 | + BEGIN |
| 46 | + BLOCK "040904b0" |
| 47 | + BEGIN |
| 48 | + VALUE "CompanyName", "Joyent, Inc" |
| 49 | + VALUE "ProductName", "Node.js" |
| 50 | + VALUE "FileDescription", "Evented I/O for V8 JavaScript" |
| 51 | + VALUE "FileVersion", NODE_VERSION_STRING |
| 52 | + VALUE "ProductVersion", NODE_VERSION_STRING |
| 53 | + VALUE "OriginalFilename", "node.exe" |
| 54 | + VALUE "InternalName", "node" |
| 55 | + VALUE "LegalCopyright", "Copyright Joyent, Inc. and other Node contributors. MIT license." |
| 56 | + END |
| 57 | + END |
| 58 | + BLOCK "VarFileInfo" |
| 59 | + BEGIN |
| 60 | + VALUE "Translation", 0x409, 1200 |
| 61 | + END |
| 62 | +END |
0 commit comments