fix, win, console visible when a DUB pack is fetch

This commit is contained in:
Basile Burg 2016-04-14 20:50:10 +02:00
parent 767e990374
commit 9f346bfa05
1 changed files with 2 additions and 0 deletions

View File

@ -321,6 +321,7 @@ begin
try
dub.Executable:= 'dub';
dub.Options:= [poUsePipes, poStderrToOutPut];
dub.ShowWindow:= swoHIDE;
if not upd then
begin
dub.Parameters.Add('fetch');
@ -357,6 +358,7 @@ begin
dub := TProcess.Create(nil);
try
dub.Executable:= 'dub';
dub.ShowWindow:= swoHIDE;
dub.Options:= [poUsePipes, poStderrToOutPut];
dub.Parameters.Add('build');
dub.Parameters.Add('--build=release');