mirror of
https://github.com/osukey/osukey.git
synced 2025-07-02 00:40:09 +09:00
Fix regression in deployment tool
This commit is contained in:
@ -342,10 +342,12 @@ namespace osu.Desktop.Deploy
|
|||||||
};
|
};
|
||||||
|
|
||||||
Process p = Process.Start(psi);
|
Process p = Process.Start(psi);
|
||||||
if (p == null || p.ExitCode == 0) return true;
|
if (p == null) return false;
|
||||||
|
|
||||||
string output = p.StandardOutput.ReadToEnd();
|
string output = p.StandardOutput.ReadToEnd();
|
||||||
|
|
||||||
|
if (p.ExitCode == 0) return true;
|
||||||
|
|
||||||
write(output);
|
write(output);
|
||||||
error($"Command {command} {args} failed!");
|
error($"Command {command} {args} failed!");
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user