mirror of
https://github.com/vczh-libraries/Release.git
synced 2026-05-22 23:36:46 +08:00
...
This commit is contained in:
+4
-2
@@ -56,8 +56,10 @@ try {
|
||||
throw "Input does not exist: $FileName"
|
||||
}
|
||||
$FileName = (Resolve-Path -Path $FileName).Path
|
||||
Remove-Item -Path "$($FileName).log" -Recurse | Out-Null
|
||||
New-Item -ItemType Directory "$($FileName).log" | Out-Null
|
||||
if (Test-Path -Path "$($FileName).log") {
|
||||
Remove-Item -Path "$($FileName).log" -Recurse | Out-Null
|
||||
New-Item -ItemType Directory "$($FileName).log" | Out-Null
|
||||
}
|
||||
|
||||
EnumerateResourceFiles $FileName
|
||||
if (-not (Test-Path -Path "$($FileName).log\ResourceFiles.txt")) {
|
||||
|
||||
+4
-2
@@ -20,8 +20,10 @@ try {
|
||||
throw "Input does not exist: $FileName"
|
||||
}
|
||||
$FileName = (Resolve-Path -Path $FileName).Path
|
||||
Remove-Item -Path "$($FileName).log" -Recurse | Out-Null
|
||||
New-Item -ItemType Directory "$($FileName).log" | Out-Null
|
||||
if (Test-Path -Path "$($FileName).log") {
|
||||
Remove-Item -Path "$($FileName).log" -Recurse | Out-Null
|
||||
New-Item -ItemType Directory "$($FileName).log" | Out-Null
|
||||
}
|
||||
|
||||
EnumerateResourceFiles $FileName
|
||||
if (-not (Test-Path -Path "$($FileName).log\ResourceFiles.txt")) {
|
||||
|
||||
Reference in New Issue
Block a user