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',
|
||||
},
|
||||
'VCLinkerTool': {
|
||||
# Chrome builds with this minimum environment which changes the
|
||||
# values returned from APIs like GetSystemMetrics(SM_CXSIZEFRAME)
|
||||
'MinimumRequiredVersion': '5.02'
|
||||
# Chrome builds with this minimum environment which makes e.g.
|
||||
# GetSystemMetrics(SM_CXSIZEFRAME) return Windows XP/2003
|
||||
# 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': [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue