Remove all unwanted installation artifacts
This commit is contained in:
parent
cf065edc4f
commit
b7fb6de569
2 changed files with 6 additions and 2 deletions
|
@ -69,4 +69,10 @@ function Invoke-WindowsInstallation([Context] $context)
|
||||||
|
|
||||||
New-PersonalUser $context;
|
New-PersonalUser $context;
|
||||||
Restore-WindowsInstallation $context;
|
Restore-WindowsInstallation $context;
|
||||||
|
Uninstall-Package -Force Selenium.WebDriver;
|
||||||
|
Uninstall-Module -Force "NuGet";
|
||||||
|
choco uninstall -y selenium-gecko-driver;
|
||||||
|
winget uninstall --force AutoHotkey.AutoHotkey;
|
||||||
|
Set-Location ~;
|
||||||
|
Remove-Item -Recurse "$PSScriptRoot/../../..";
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,6 +50,4 @@ function Restore-WindowsInstallation([Context] $context) {
|
||||||
Restore-PersonalApps $context;
|
Restore-PersonalApps $context;
|
||||||
Remove-Item -Recurse $context.RootDir;
|
Remove-Item -Recurse $context.RootDir;
|
||||||
$context.Cleanup();
|
$context.Cleanup();
|
||||||
Set-Location ~;
|
|
||||||
Remove-Item -Recurse "$PSScriptRoot/../../..";
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue