summaryrefslogtreecommitdiff
path: root/node.gyp
diff options
context:
space:
mode:
authorAlexis Campailla <alexis@janeasystems.com>2014-08-15 18:25:38 +0200
committerTrevor Norris <trev.norris@gmail.com>2014-09-17 14:26:35 -0700
commit03e93526e6b38279c04d69ddf98c493342730e85 (patch)
tree7766cf18a1f9ddf4a0299ef800f24df3d193a54e /node.gyp
parent378d9723f25cb5db88d2d0c74190800606d120f1 (diff)
downloadandroid-node-v8-03e93526e6b38279c04d69ddf98c493342730e85.tar.gz
android-node-v8-03e93526e6b38279c04d69ddf98c493342730e85.tar.bz2
android-node-v8-03e93526e6b38279c04d69ddf98c493342730e85.zip
win: manifest node.exe for Windows 8.1
Adding a compatibility section to node.exe embedded manifest so that Node is declared explicitly compatible with Windows 8.1. Required so that os.release() can return the correct version on Windows 8.1. See http://msdn.microsoft.com/en-us/library/windows/desktop/ms724451(v=vs.85).aspx Reviewed-by: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'node.gyp')
-rw-r--r--node.gyp4
1 files changed, 4 insertions, 0 deletions
diff --git a/node.gyp b/node.gyp
index 5454af2f96..24c8860ac1 100644
--- a/node.gyp
+++ b/node.gyp
@@ -361,6 +361,10 @@
'VCLinkerTool': {
'SubSystem': 1, # /subsystem:console
},
+ 'VCManifestTool': {
+ 'EmbedManifest': 'true',
+ 'AdditionalManifestFiles': 'src/res/node.exe.extra.manifest'
+ }
},
},
# generate ETW header and resource files