From f03a43e8e9dcb0d29d326a5043f090d96d8bc733 Mon Sep 17 00:00:00 2001 From: "Mr.k" Date: Fri, 22 Mar 2024 01:56:08 +0300 Subject: [PATCH] Fix OneDrive Remove Tweak not cleaning-up 'OneDrive' Folder under the 'localappdata' Environment Folder (#1654) Besides the 'OneDrive' Folder found in 'Microsoft' Folder in 'localappdata', there's Yet Another Cache Folder that OneDrive uses, which's found under the 'localappdata' Environment Folder, read the commit patches for exact details. --- config/tweaks.json | 1 + 1 file changed, 1 insertion(+) diff --git a/config/tweaks.json b/config/tweaks.json index 9f9bfb9f..dcf08885 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2306,6 +2306,7 @@ Write-Host \"Removing OneDrive leftovers\" Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:localappdata\\Microsoft\\OneDrive\" + Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:localappdata\\OneDrive\" Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:programdata\\Microsoft OneDrive\" Remove-Item -Recurse -Force -ErrorAction SilentlyContinue \"$env:systemdrive\\OneDriveTemp\" # check if directory is empty before removing: