Alte Files / Folder vor anlegen der Links löschen.
This commit is contained in:
@@ -123,8 +123,10 @@ do {
|
||||
$decision = $Host.UI.PromptForChoice('Winfetch', 'Soll Winfetch eingerichtet werden?' , $choices, 1)
|
||||
if ($decision -eq 0) {
|
||||
Install-Script winfetch
|
||||
Remove-Item -Recurse -Force ~/.config/winfetch
|
||||
mkdir ~/.config/winfetch
|
||||
New-Item -Path "~/.config/winfetch/config.ps1" -ItemType SymbolicLink -Value "~/.winconfig/config.ps1"
|
||||
Remove-Item -Force "~/Documents/WindowsPowerShell/profile.ps1"
|
||||
New-Item -Path "~/Documents/WindowsPowerShell/profile.ps1" -ItemType SymbolicLink -Value "~/.winconfig/profile.ps1"
|
||||
Read-Host "Bitte das Terminal / Powershell neu starten damit Winfetch funktioniert."
|
||||
|
||||
|
||||
Reference in New Issue
Block a user