From 1444cf581fdfc8b9cfb9c8eaada7a6b48d11695b Mon Sep 17 00:00:00 2001 From: titus Date: Wed, 28 Jan 2026 12:38:58 -0600 Subject: [PATCH] fix adobe hosts --- config/tweaks.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/tweaks.json b/config/tweaks.json index 85317af4..007eb221 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -2152,7 +2152,7 @@ $hostsUrl = \"https://github.com/Ruddernation-Designs/Adobe-URL-Block-List/raw/refs/heads/master/hosts\" $hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\" - Copy-Item $hosts \"$hosts.bak\" + Copy-Item $hosts \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\\$hosts.bak\" Invoke-WebRequest $hostsUrl -OutFile $hosts ipconfig /flushdns @@ -2162,10 +2162,9 @@ "UndoScript": [ " $hosts = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\" - $backup = \"$hosts.bak\" + $backup = \"$env:SystemRoot\\System32\\drivers\\etc\\hosts\\$hosts.bak\" - Copy-Item $backup $hosts - Remove-Item $backup + Remove-Item $hosts ipconfig /flushdns Write-Host \"Removed Adobe url block list from host file\"