OO verbessert und ahk hinzugefügt.
This commit is contained in:
@@ -11,6 +11,14 @@ function allupdates {
|
||||
Set-Location $HOME/.winconfig ; ./OOSU10.exe configs/ooshutup10/ooshutup10.cfg /quiet
|
||||
Write-Host "Ziehe aktuelle winconfig von git..." -ForegroundColor Blue
|
||||
Set-Location $HOME/.winconfig ; git pull
|
||||
Write-Host "Aktuallisiere AutoHokey Scripts ..." -ForegroundColor Blue
|
||||
$sourceDir = "$HOME\.winconfig\configs\autohotkey"
|
||||
$targetDir = "$HOME\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup"
|
||||
Get-ChildItem -Path $targetDir -Filter *.ahk -Recurse | Remove-Item -Force -ErrorAction SilentlyContinue
|
||||
Get-ChildItem -Path $sourceDir | ForEach-Object {
|
||||
$linkPath = Join-Path $targetDir $_.Name
|
||||
New-Item -ItemType SymbolicLink -Path $linkPath -Target $_.FullName -ErrorAction SilentlyContinue | Out-Null
|
||||
}
|
||||
Write-Host "Update aller Powershell Module..." -ForegroundColor Blue
|
||||
Write-Host -ForegroundColor Blue 'Get all PowerShell modules'
|
||||
function Remove-OldPowerShellModules {
|
||||
@@ -146,7 +154,4 @@ function allupdates {
|
||||
}
|
||||
}
|
||||
}
|
||||
# ooshutup10 ausführen. Manchmal werden settings nach Windos updates zurückgesetzt
|
||||
Write-Host "Spiele aktuelle OOSHUTUP10 config ein... " -ForegroundColor Blue
|
||||
Set-Location $HOME/.winconfig ; ./OOSU10.exe configs/ooshutup10/ooshutup10.cfg /quiet
|
||||
}
|
||||
Reference in New Issue
Block a user