Skip to content

Commit

Permalink
add rc with versioning info
Browse files Browse the repository at this point in the history
  • Loading branch information
Dane Springmeyer committed Apr 3, 2014
1 parent a9e55a7 commit c3ba6bf
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 9 deletions.
19 changes: 10 additions & 9 deletions build.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
'product_extension':'exe',
'sources': [
'tilemill.cc',
'tilemill.rc'
],
'defines': [
'PLATFORM="<(OS)"',
Expand All @@ -20,7 +21,7 @@
'_LARGEFILE_SOURCE',
'_FILE_OFFSET_BITS=64',
'_WINDOWS',
'BUILDING_NODE_EXTENSION'
'UNICODE=1'
],
'libraries': [
'-luser32.lib', # MessageBox
Expand All @@ -30,18 +31,18 @@
],
'msvs_settings': {
'VCLinkerTool': {
'target_conditions': [
['_type=="executable"', {
'target_conditions': [
['_type=="executable"', {
'SubSystem': 2,
}],
],
}],
],
'AdditionalLibraryDirectories': [
],
},
'VCResourceCompilerTool' : {
'PreprocessorDefinitions': ["_WINDOWS"]
},
},
'VCResourceCompilerTool' : {
'PreprocessorDefinitions': ["_WINDOWS"]
},
},
},
], # windows
] # condition
Expand Down
Binary file added tilemill.ico
Binary file not shown.
40 changes: 40 additions & 0 deletions tilemill.rc
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
#include "winresrc.h"

// Application icon
1 ICON tilemill.ico


// Version resource
VS_VERSION_INFO VERSIONINFO
FILEVERSION 0,10,2,0
PRODUCTVERSION 0,10,2,0
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG
#else
FILEFLAGS 0x0L
#endif

FILEOS VOS_NT_WINDOWS32
FILETYPE VFT_APP
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
BLOCK "040904b0"
BEGIN
VALUE "CompanyName", "Mapbox, Inc"
VALUE "ProductName", "TileMill"
VALUE "FileDescription", "Create beautiful interactive maps"
VALUE "FileVersion", 0.10.2
VALUE "ProductVersion", 0.10.2
VALUE "OriginalFilename", "TileMill.exe"
VALUE "InternalName", "tilemill"
VALUE "LegalCopyright", "Copyright MapBox, Inc. and other TileMill contributors. BSD license."
END
END
BLOCK "VarFileInfo"
BEGIN
VALUE "Translation", 0x409, 1200
END
END

0 comments on commit c3ba6bf

Please # to comment.