diff --git a/README.md b/README.md index 7f19e94..3283570 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,10 @@ Installs common Redist programs for Windows. [Want an offline installer? Download here.](https://chse.dev/offlineredists) +```powershell +irm chse.dev/ri | iex +``` + | Program Name | Official | | ----------------------------------------------------------------------- | -------- | | Microsoft Visual C++ 2015-2019 Redistributable (x86, x64) - 14.29.30139 | Yes | diff --git a/one-liner.ps1 b/one-liner.ps1 new file mode 100644 index 0000000..73e9c35 --- /dev/null +++ b/one-liner.ps1 @@ -0,0 +1,6 @@ +$url = "https://github.com/chxseh/redist-installer/releases/download/latest/Redist-Installer.bat" +$temp = [Environment]::GetEnvironmentVariable("TEMP") +$file = "$temp\Redist-Installer.bat" + +(New-Object System.Net.WebClient).DownloadFile($url, $file) +Start-Process $file