Skip to content

Commit 3c0568f

Browse files
authored
Update 01-Update.ps1
1 parent 0b0f5f3 commit 3c0568f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

03-Options/01-Update.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,7 @@ exit
9797

9898
# transfer all files\folders from AuthLogParser-main to MasterParser folder
9999
Move-Item -Path "$RunningPath\MasterParser-main\*" -Destination $RunningPath
100+
Remove-Item -Path "$RunningPath\MasterParser-main" -Force -ErrorAction SilentlyContinue
100101

101102
# check if the extraction of all files\folders from MasterParser-main folder was successfull, print this if it was successfull.
102103
if (Test-Path -Path "$RunningPath\MasterParser.ps1") {
@@ -119,4 +120,3 @@ if (Test-Path -Path $RunningPath\MasterParser.zip) {
119120
Remove-Item -Path $RunningPath\MasterParser.zip -Force -ErrorAction SilentlyContinue
120121
}
121122

122-
Remove-Item -Path $RunningPath\MasterParser-main -Force -ErrorAction SilentlyContinue | out-null

0 commit comments

Comments
 (0)