From 86097572b0906d1c7e2a3d02cc766a9a784b3c26 Mon Sep 17 00:00:00 2001 From: Chris Titus Date: Tue, 10 Feb 2026 12:53:16 -0600 Subject: [PATCH] fix adobe hosts (#3955) --- config/tweaks.json | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/config/tweaks.json b/config/tweaks.json index d70beb70..c35c1240 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\"