Skip to content

Commit

Permalink
-Fix(1.3.0.0)- Fixed application updating via about form not functioning
Browse files Browse the repository at this point in the history
  • Loading branch information
NeilHarbin0 committed Mar 23, 2023
1 parent 891b217 commit 98a17a9
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 14 deletions.
24 changes: 13 additions & 11 deletions SimpleVideoEditor/Globals.vb
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,19 @@ Module Globals
''' Recursively deletes directories in as safe a manner as possible.
''' </summary>
Public Sub DeleteDirectory(ByVal directoryPath As String)
'Assure each file is not read-only, then delete them
For Each file As String In System.IO.Directory.GetFiles(directoryPath)
System.IO.File.SetAttributes(file, System.IO.FileAttributes.Normal)
System.IO.File.Delete(file)
Next
'Delete each directory inside
For Each directory As String In System.IO.Directory.GetDirectories(directoryPath)
DeleteDirectory(directory)
Next
'Delete parent directory
System.IO.Directory.Delete(directoryPath, False)
If System.IO.Directory.Exists(directoryPath) Then
'Assure each file is not read-only, then delete them
For Each file As String In System.IO.Directory.GetFiles(directoryPath)
System.IO.File.SetAttributes(file, System.IO.FileAttributes.Normal)
System.IO.File.Delete(file)
Next
'Delete each directory inside
For Each directory As String In System.IO.Directory.GetDirectories(directoryPath)
DeleteDirectory(directory)
Next
'Delete parent directory
System.IO.Directory.Delete(directoryPath, False)
End If
End Sub

''' <summary>
Expand Down
6 changes: 3 additions & 3 deletions SimpleVideoEditor/My Project/AssemblyInfo.vb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Imports System.Runtime.InteropServices
' Review the values of the assembly attributes

<Assembly: AssemblyTitle("Simple Video Editor")>
<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")>
<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")>
<Assembly: AssemblyCompany("LightGuide, Inc.")>
<Assembly: AssemblyProduct("Simple Video Editor")>
<Assembly: AssemblyCopyright("Copyright © 2017-2023")>
Expand All @@ -31,5 +31,5 @@ Imports System.Runtime.InteropServices
' by using the '*' as shown below:
' <Assembly: AssemblyVersion("1.0.*")>

<Assembly: AssemblyVersion("1.3.1.0")>
<Assembly: AssemblyFileVersion("1.3.1.0")>
<Assembly: AssemblyVersion("1.3.2.0")>
<Assembly: AssemblyFileVersion("1.3.2.0")>

0 comments on commit 98a17a9

Please sign in to comment.