Compare commits

...

2 Commits

Author SHA1 Message Date
MyDrift
6ab9b131b8 change date format 2024-08-27 16:47:01 +02:00
MyDrift
1ba19ab89c spelling fix 2024-08-27 16:44:42 +02:00

View File

@ -27,11 +27,11 @@ if ($Run) {
$PARAM_RUN = $true $PARAM_RUN = $true
} }
$dateTime = Get-Date -Format "dd-MM-yyyy_HH-mm-ss" $dateTime = Get-Date -Format "yyyy-MM-dd_HH-mm-ss"
$logdir = "$env:localappdata\Winutil\Log" $logdir = "$env:localappdata\winutil\logs"
[System.IO.Directory]::CreateDirectory("$logdir") [System.IO.Directory]::CreateDirectory("$logdir")
Start-Transcript -Path "$logdir\Winutil_$dateTime.log" -Append Start-Transcript -Path "$logdir\winutil_$dateTime.log" -Append
# Load DLLs # Load DLLs
Add-Type -AssemblyName PresentationFramework Add-Type -AssemblyName PresentationFramework