This commit is contained in:
rabix 2022-03-03 02:18:11 +08:00
parent 906ac0ab44
commit fbab6e05b5
3 changed files with 9 additions and 1 deletions

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

@ -0,0 +1,4 @@
@echo off
where cargo.exe 2>nul >nul
if errorlevel 1 call v-scoop install rust & call %~dp0\v-choco-refreshenv
cargo.exe %*

View File

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

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

@ -0,0 +1,4 @@
@echo off
where rustc.exe 2>nul >nul
if errorlevel 1 call v-scoop install rust & call %~dp0\v-choco-refreshenv
rustc.exe %*