From 906ac0ab44edb48be6672abfaf67a8a82a231223 Mon Sep 17 00:00:00 2001 From: rabix Date: Thu, 3 Mar 2022 01:57:38 +0800 Subject: [PATCH] scoop & qemu --- bin/v-qemu.cmd | 4 ++++ bin/v-scoop.cmd | 4 ++++ 2 files changed, 8 insertions(+) create mode 100644 bin/v-qemu.cmd create mode 100644 bin/v-scoop.cmd diff --git a/bin/v-qemu.cmd b/bin/v-qemu.cmd new file mode 100644 index 0000000..9cc34fb --- /dev/null +++ b/bin/v-qemu.cmd @@ -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 %* \ No newline at end of file diff --git a/bin/v-scoop.cmd b/bin/v-scoop.cmd new file mode 100644 index 0000000..e547833 --- /dev/null +++ b/bin/v-scoop.cmd @@ -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 %* \ No newline at end of file