Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
Iridium-IO committed Oct 16, 2017
2 parents f8bbe8f + 73f702c commit 83bcda9
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 24 deletions.
32 changes: 13 additions & 19 deletions WindowsApp1/Compact.Designer.vb

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

8 changes: 5 additions & 3 deletions WindowsApp1/Compact.vb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Imports System.Text.RegularExpressions
Imports Ookii.Dialogs 'Uses Ookii Dialogs for the non-archaic filebrowser dialog. http://www.ookii.org/Software/Dialogs

Public Class Compact
Dim version = "1.3.4"
Dim version = "1.3.5"
Private WithEvents MyProcess As Process
Private Delegate Sub AppendOutputTextDelegate(ByVal text As String)

Expand Down Expand Up @@ -53,7 +53,7 @@ Public Class Compact

Try

If e.Data.Contains("total bytes of data are stored in") Then 'Gets the output line that contains both the pre- and post-compression folder sizes
If e.Data.Contains("total bytes of data are stored in") Then 'Gets the output line that contains both the pre- and post-compression folder sizes
byteComparisonRaw = e.Data
End If

Expand Down Expand Up @@ -361,12 +361,14 @@ Public Class Compact

Try

MyProcess.StandardInput.WriteLine("cd /d " + workingDir)
MyProcess.StandardInput.WriteLine("cd " + workingDir)
MyProcess.StandardInput.Flush()

MyProcess.StandardInput.WriteLine("") 'Required for the embedded console to show the next line in the buffer after the 'cd' command. No idea why
MyProcess.StandardInput.Flush()

MyProcess.StandardInput.WriteLine("chcp 437")
MyProcess.StandardInput.Flush()

RunCompact(passthrougharg)

Expand Down
4 changes: 2 additions & 2 deletions WindowsApp1/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,6 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.3.4.0")>
<Assembly: AssemblyFileVersion("1.3.4.0")>
<Assembly: AssemblyVersion("1.3.5.0")>
<Assembly: AssemblyFileVersion("1.3.5.0")>
<Assembly: NeutralResourcesLanguage("en")>

0 comments on commit 83bcda9

Please sign in to comment.