modif comtabilite
This commit is contained in:
+3
-3
@@ -6,9 +6,9 @@ function findVS2017(callback) {
|
||||
var ps = path.join(process.env.SystemRoot, 'System32', 'WindowsPowerShell',
|
||||
'v1.0', 'powershell.exe')
|
||||
var csFile = path.join(__dirname, 'Find-VS2017.cs')
|
||||
var psArgs = ['-ExecutionPolicy', 'Unrestricted', '-Command',
|
||||
'&{Add-Type -Path \'' + csFile +
|
||||
'\'; [VisualStudioConfiguration.Main]::Query()}']
|
||||
var psArgs = ['-ExecutionPolicy', 'Unrestricted', '-NoProfile',
|
||||
'-Command', '&{Add-Type -Path \'' + csFile + '\';' +
|
||||
'[VisualStudioConfiguration.Main]::Query()}']
|
||||
|
||||
log.silly('find vs2017', 'Running', ps, psArgs)
|
||||
var child = execFile(ps, psArgs, { encoding: 'utf8' },
|
||||
|
||||
Reference in New Issue
Block a user