WebTop

WebTop scripts update_easylist.ps1

306 B 8 lines Raw ↗ GitHub ↗

$ErrorActionPreference = "Stop"$root   = Resolve-Path "$PSScriptRoot\.."$dest   = Join-Path $root "runtime\resources\easylist.txt"$url    = "https://easylist.to/easylist/easylist.txt"Write-Host "Downloading EasyList from $url ..."Invoke-WebRequest -Uri $url -OutFile $destWrite-Host "Saved to $dest"