vid/bin/qemu.cmd

4 lines
186 B
Batchfile

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