mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-01-16 01:40:35 -06:00
Compare commits
2 Commits
0e9633a60f
...
6ab9b131b8
Author | SHA1 | Date | |
---|---|---|---|
|
6ab9b131b8 | ||
|
1ba19ab89c |
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user