Clean up after restoration

This commit is contained in:
Manuel Thalmann 2023-07-03 13:24:36 +02:00
parent 53032abea3
commit d96a1bf913
2 changed files with 7 additions and 0 deletions
scripts/Windows/OS

View file

@ -42,4 +42,5 @@ function Restore-WindowsInstallation([Context] $context) {
Restore-PersonalFiles $context;
Restore-PersonalApps $context;
Remove-Item -Recurse $context.RootDir;
$context.Cleanup();
}