Skip to content

Commit

Permalink
Merge pull request #1 from lanayotech/develop
Browse files Browse the repository at this point in the history
sync from base
  • Loading branch information
snzip authored Oct 23, 2016
2 parents 590de36 + 6be1f2f commit e8fb9f5
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ public string[] GetInstancePaths() {
};

p.Start();
p.WaitForExit();
string outputString = p.StandardOutput.ReadToEnd();
p.WaitForExit();

if (p.ExitCode == 0) {
Regex regex = new Regex("(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+(\\S+)\\s+([A-Z]:/.*)(\\n|$)");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ public string[] GetAllVirtualMachineUUIDs() {
return uuids.ToArray();
}

p.WaitForExit();
string outputString = p.StandardOutput.ReadToEnd();
p.WaitForExit();

if (p.ExitCode == 0) {
Regex regex = new Regex("\"[^\"]+\"\\s+\\{([^\\}]+)\\}");
Expand Down Expand Up @@ -88,8 +88,8 @@ public VirtualBoxMachineInfo GetVirtualMachineInfoFromUUID(string uuid) {
return null;
}

p.WaitForExit();
string outputString = p.StandardOutput.ReadToEnd();
p.WaitForExit();

if (p.ExitCode == 0) {
return new VirtualBoxMachineInfo(outputString);
Expand Down
2 changes: 1 addition & 1 deletion Lanayo.VagrantManager/Core/Vagrant/VagrantInstance.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ public void QueryMachines() {
};

p.Start();
p.WaitForExit();
string outputString = p.StandardOutput.ReadToEnd();
p.WaitForExit();

Regex regex = new Regex("([\\w-_\\.]+)\\s+([\\w\\s]+) \\(\\w+\\)");
MatchCollection matchCollection = regex.Matches(outputString);
Expand Down
2 changes: 1 addition & 1 deletion Lanayo.VagrantManager/Lanayo.Vagrant_Manager.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
<UpdatePeriodically>false</UpdatePeriodically>
<UpdateRequired>false</UpdateRequired>
<MapFileExtensions>true</MapFileExtensions>
<ApplicationRevision>3</ApplicationRevision>
<ApplicationRevision>5</ApplicationRevision>
<ApplicationVersion>1.0.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<BootstrapperEnabled>true</BootstrapperEnabled>
Expand Down
4 changes: 2 additions & 2 deletions Lanayo.VagrantManager/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.0.4")]
[assembly: AssemblyFileVersion("1.0.0.4")]
[assembly: AssemblyVersion("1.0.0.5")]
[assembly: AssemblyFileVersion("1.0.0.5")]
13 changes: 7 additions & 6 deletions Lanayo.VagrantManager/Windows/TaskOutputWindow.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit e8fb9f5

Please sign in to comment.