vid/bin/v-scoop.cmd

4 lines
225 B
Batchfile
Raw Normal View History

2022-03-03 01:57:38 +08:00
@echo off
where scoop 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 %*