scoop & qemu

This commit is contained in:
rabix 2022-03-03 01:57:38 +08:00
parent e12812410d
commit 906ac0ab44
2 changed files with 8 additions and 0 deletions

4
bin/v-qemu.cmd Normal file
View File

@ -0,0 +1,4 @@
@echo off
where qemu-system-x86_64.exe 2>nul >nul
if errorlevel 1 call v-scoop install qemu & call v_choco_refreshenv
%userprofile%\scoop\apps\qemu\6.2.0\qemu-system-x86_64.exe %*

4
bin/v-scoop.cmd Normal file
View File

@ -0,0 +1,4 @@
@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 %*