Add SubSystem setting
This commit is contained in:
parent
4ca4eb01d4
commit
108f246d89
1 changed files with 8 additions and 3 deletions
11
electron.gyp
11
electron.gyp
|
@ -128,9 +128,14 @@
|
||||||
'AdditionalManifestFiles': 'atom/browser/resources/win/atom.manifest',
|
'AdditionalManifestFiles': 'atom/browser/resources/win/atom.manifest',
|
||||||
},
|
},
|
||||||
'VCLinkerTool': {
|
'VCLinkerTool': {
|
||||||
# Chrome builds with this minimum environment which changes the
|
# Chrome builds with this minimum environment which makes e.g.
|
||||||
# values returned from APIs like GetSystemMetrics(SM_CXSIZEFRAME)
|
# GetSystemMetrics(SM_CXSIZEFRAME) return Windows XP/2003
|
||||||
'MinimumRequiredVersion': '5.02'
|
# compatible metrics. See: https://crbug.com/361720
|
||||||
|
#
|
||||||
|
# The following two settings translate to a linker flag
|
||||||
|
# of /SUBSYSTEM:WINDOWS,5.02
|
||||||
|
'MinimumRequiredVersion': '5.02',
|
||||||
|
'SubSystem': '2',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
'copies': [
|
'copies': [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue