From 934742f0239e4102e9fb66486908f5961b67de10 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Tue, 1 Aug 2023 13:15:34 +0200 Subject: [PATCH] Remove files project after restoration --- scripts/Windows/OS/Manage.ps1 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/Windows/OS/Manage.ps1 b/scripts/Windows/OS/Manage.ps1 index fe2a0c2e..bcc85ca4 100644 --- a/scripts/Windows/OS/Manage.ps1 +++ b/scripts/Windows/OS/Manage.ps1 @@ -50,4 +50,6 @@ function Restore-WindowsInstallation([Context] $context) { Restore-PersonalApps $context; Remove-Item -Recurse $context.RootDir; $context.Cleanup(); + Set-Location ~; + Remove-Item -Recurse "$PSScriptRoot/../../.."; }