vid/bin/scoop.bat

4 lines
233 B
Batchfile

@echo off
where scoop.cmd 2>nul >nul
if errorlevel 1 powershell -c "Set-ExecutionPolicy RemoteSigned -scope CurrentUser; Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')"
call scoop.cmd %*