vid/bin/scoop.bat

4 lines
233 B
Batchfile
Raw Normal View History

2022-03-03 01:57:38 +08:00
@echo off
2022-03-04 19:35:47 +08:00
where scoop.cmd 2>nul >nul
2022-03-03 01:57:38 +08:00
if errorlevel 1 powershell -c "Set-ExecutionPolicy RemoteSigned -scope CurrentUser; Invoke-Expression (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')"
2022-03-04 19:35:47 +08:00
call scoop.cmd %*