Skip to content

Commit 98a17a9

Browse files
committed
-Fix(1.3.0.0)- Fixed application updating via about form not functioning
1 parent 891b217 commit 98a17a9

2 files changed

Lines changed: 16 additions & 14 deletions

File tree

SimpleVideoEditor/Globals.vb

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,19 @@ Module Globals
77
''' Recursively deletes directories in as safe a manner as possible.
88
''' </summary>
99
Public Sub DeleteDirectory(ByVal directoryPath As String)
10-
'Assure each file is not read-only, then delete them
11-
For Each file As String In System.IO.Directory.GetFiles(directoryPath)
12-
System.IO.File.SetAttributes(file, System.IO.FileAttributes.Normal)
13-
System.IO.File.Delete(file)
14-
Next
15-
'Delete each directory inside
16-
For Each directory As String In System.IO.Directory.GetDirectories(directoryPath)
17-
DeleteDirectory(directory)
18-
Next
19-
'Delete parent directory
20-
System.IO.Directory.Delete(directoryPath, False)
10+
If System.IO.Directory.Exists(directoryPath) Then
11+
'Assure each file is not read-only, then delete them
12+
For Each file As String In System.IO.Directory.GetFiles(directoryPath)
13+
System.IO.File.SetAttributes(file, System.IO.FileAttributes.Normal)
14+
System.IO.File.Delete(file)
15+
Next
16+
'Delete each directory inside
17+
For Each directory As String In System.IO.Directory.GetDirectories(directoryPath)
18+
DeleteDirectory(directory)
19+
Next
20+
'Delete parent directory
21+
System.IO.Directory.Delete(directoryPath, False)
22+
End If
2123
End Sub
2224

2325
''' <summary>

SimpleVideoEditor/My Project/AssemblyInfo.vb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Imports System.Runtime.InteropServices
99
' Review the values of the assembly attributes
1010

1111
<Assembly: AssemblyTitle("Simple Video Editor")>
12-
<Assembly: AssemblyDescription("Simple ffmpeg.exe wrapper for editing videos." & vbCrLf & "This video editor is free to distribute. Just copy the folder." & vbCrLf & "Development Time: 19 days" & vbCrLf & "Author: Neil Harbin" & vbCrLf & "Licenced under GPL v3.0" & vbCrLf & "Source:" & vbCrLf & "https://github.com/OPS-Solutions/SimpleVideoEditor")>
12+
<Assembly: AssemblyDescription("Simple ffmpeg.exe wrapper for editing videos." & vbCrLf & "This video editor is free to distribute. Just copy the folder." & vbCrLf & "Development Time: 20 days" & vbCrLf & "Author: Neil Harbin" & vbCrLf & "Licenced under GPL v3.0" & vbCrLf & "Source:" & vbCrLf & "https://github.com/OPS-Solutions/SimpleVideoEditor")>
1313
<Assembly: AssemblyCompany("LightGuide, Inc.")>
1414
<Assembly: AssemblyProduct("Simple Video Editor")>
1515
<Assembly: AssemblyCopyright("Copyright © 2017-2023")>
@@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
3131
' by using the '*' as shown below:
3232
' <Assembly: AssemblyVersion("1.0.*")>
3333

34-
<Assembly: AssemblyVersion("1.3.1.0")>
35-
<Assembly: AssemblyFileVersion("1.3.1.0")>
34+
<Assembly: AssemblyVersion("1.3.2.0")>
35+
<Assembly: AssemblyFileVersion("1.3.2.0")>

0 commit comments

Comments
 (0)