Anpassung der debload config.
This commit is contained in:
@@ -8,7 +8,10 @@ Set-Location $HOME/.winconfig
|
||||
|
||||
# Log starten
|
||||
if ((Test-Path $HOME/.winconfig/logs) -eq $False){
|
||||
New-Item $HOME/.winconfig/logs/
|
||||
New-Item $HOME/.winconfig/logs/
|
||||
}
|
||||
else {
|
||||
Remove-Item "$HOME/.winconfig/logs/*.log"
|
||||
}
|
||||
Start-Transcript -Path $HOME/.winconfig/logs/run.log | out-null
|
||||
|
||||
@@ -57,5 +60,5 @@ $WPFconfigure.Add_Click({
|
||||
Start-Process powershell.exe -Verb RunAs -ArgumentList "-command Start-Transcript ~/.winconfig/logs/winget-debloat.log -Append | out-null; . ./config.ps1 ; DebloatWindows | Out-Host" -WindowStyle Normal
|
||||
})
|
||||
|
||||
$Form.ShowDialog() | out-null
|
||||
Stop-Transcript
|
||||
$Form.ShowDialog() | Out-Null
|
||||
Stop-Transcript | Out-Null
|
||||
|
||||
Reference in New Issue
Block a user