vid/bin/cargo.cmd

4 lines
124 B
Batchfile
Raw Permalink Normal View History

2022-03-04 19:35:47 +08:00
@echo off
where cargo.exe 2>nul >nul
if errorlevel 1 call scoop install rust & call %~dp0\v-choco-refreshenv
cargo.exe %*