diff --git a/bin/v-cargo.cmd b/bin/v-cargo.cmd new file mode 100644 index 0000000..44d5cf5 --- /dev/null +++ b/bin/v-cargo.cmd @@ -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 %* \ No newline at end of file diff --git a/bin/v-qemu.cmd b/bin/v-qemu.cmd index 9cc34fb..d39b6e4 100644 --- a/bin/v-qemu.cmd +++ b/bin/v-qemu.cmd @@ -1,4 +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 +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 %* \ No newline at end of file diff --git a/bin/v-rustc.cmd b/bin/v-rustc.cmd new file mode 100644 index 0000000..6f28156 --- /dev/null +++ b/bin/v-rustc.cmd @@ -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 %* \ No newline at end of file