From 3c39ae4b826b9075955ce3f88fd4c766bd14f0d5 Mon Sep 17 00:00:00 2001 From: rabix Date: Fri, 4 Mar 2022 19:35:47 +0800 Subject: [PATCH] removed v --- bin/bundler.cmd | 4 ++++ bin/cargo.cmd | 4 ++++ bin/{v-choco.cmd => choco.cmd} | 0 bin/gem.bat | 4 ++++ bin/ghc.cmd | 4 ++++ bin/{v-ghci.cmd => ghci.cmd} | 2 +- bin/irb.cmd | 4 ++++ bin/node.cmd | 4 ++++ bin/npm.bat | 4 ++++ bin/qemu.cmd | 4 ++++ bin/ruby.cmd | 4 ++++ bin/rubyw.cmd | 4 ++++ bin/runghc.cmd | 4 ++++ bin/{v-rustc.cmd => rustc.cmd} | 0 bin/{v-scoop.cmd => scoop.bat} | 4 ++-- bin/v-bundler.cmd | 4 ---- bin/v-cargo.cmd | 4 ---- bin/v-gem.cmd | 4 ---- bin/v-ghc.cmd | 4 ---- bin/v-irb.cmd | 4 ---- bin/v-node.cmd | 4 ---- bin/v-npm.cmd | 4 ---- bin/v-qemu.cmd | 4 ---- bin/v-ruby.cmd | 4 ---- bin/v-rubyw.cmd | 4 ---- bin/v-runghc.cmd | 4 ---- 26 files changed, 47 insertions(+), 47 deletions(-) create mode 100644 bin/bundler.cmd create mode 100644 bin/cargo.cmd rename bin/{v-choco.cmd => choco.cmd} (100%) create mode 100644 bin/gem.bat create mode 100644 bin/ghc.cmd rename bin/{v-ghci.cmd => ghci.cmd} (88%) create mode 100644 bin/irb.cmd create mode 100644 bin/node.cmd create mode 100644 bin/npm.bat create mode 100644 bin/qemu.cmd create mode 100644 bin/ruby.cmd create mode 100644 bin/rubyw.cmd create mode 100644 bin/runghc.cmd rename bin/{v-rustc.cmd => rustc.cmd} (100%) rename bin/{v-scoop.cmd => scoop.bat} (79%) delete mode 100644 bin/v-bundler.cmd delete mode 100644 bin/v-cargo.cmd delete mode 100644 bin/v-gem.cmd delete mode 100644 bin/v-ghc.cmd delete mode 100644 bin/v-irb.cmd delete mode 100644 bin/v-node.cmd delete mode 100644 bin/v-npm.cmd delete mode 100644 bin/v-qemu.cmd delete mode 100644 bin/v-ruby.cmd delete mode 100644 bin/v-rubyw.cmd delete mode 100644 bin/v-runghc.cmd diff --git a/bin/bundler.cmd b/bin/bundler.cmd new file mode 100644 index 0000000..586f226 --- /dev/null +++ b/bin/bundler.cmd @@ -0,0 +1,4 @@ +@echo off +where bundler.bat >nul 2>nul +if errorlevel 1 call gem install bundler +call bundler.bat %* \ No newline at end of file diff --git a/bin/cargo.cmd b/bin/cargo.cmd new file mode 100644 index 0000000..80d1d59 --- /dev/null +++ b/bin/cargo.cmd @@ -0,0 +1,4 @@ +@echo off +where cargo.exe 2>nul >nul +if errorlevel 1 call scoop install rust & call %~dp0\v-choco-refreshenv +cargo.exe %* \ No newline at end of file diff --git a/bin/v-choco.cmd b/bin/choco.cmd similarity index 100% rename from bin/v-choco.cmd rename to bin/choco.cmd diff --git a/bin/gem.bat b/bin/gem.bat new file mode 100644 index 0000000..c2abe6c --- /dev/null +++ b/bin/gem.bat @@ -0,0 +1,4 @@ +@echo off +where gem.cmd >nul 2>nul +if errorlevel 1 call choco install ruby -y & call %~dp0\v-choco-refreshenv +call gem.cmd %* \ No newline at end of file diff --git a/bin/ghc.cmd b/bin/ghc.cmd new file mode 100644 index 0000000..63dee47 --- /dev/null +++ b/bin/ghc.cmd @@ -0,0 +1,4 @@ +@echo off +where ghc.exe >nul 2>nul +if errorlevel 1 call choco install ghc -y & call %~dp0\v-choco-refreshenv +ghc.exe %* \ No newline at end of file diff --git a/bin/v-ghci.cmd b/bin/ghci.cmd similarity index 88% rename from bin/v-ghci.cmd rename to bin/ghci.cmd index bfb3332..1036864 100644 --- a/bin/v-ghci.cmd +++ b/bin/ghci.cmd @@ -1,4 +1,4 @@ @echo off where ghci.exe >nul 2>nul if errorlevel 1 call v-choco install ghc -y & call %~dp0\v-choco-refreshenv -ghci %* \ No newline at end of file +ghci.exe %* \ No newline at end of file diff --git a/bin/irb.cmd b/bin/irb.cmd new file mode 100644 index 0000000..718f0cc --- /dev/null +++ b/bin/irb.cmd @@ -0,0 +1,4 @@ +@echo off +where ruby.exe >nul 2>nul +if errorlevel 1 call choco install ruby -y & call %~dp0\v-choco-refreshenv +irb.bat %* \ No newline at end of file diff --git a/bin/node.cmd b/bin/node.cmd new file mode 100644 index 0000000..e5bdf46 --- /dev/null +++ b/bin/node.cmd @@ -0,0 +1,4 @@ +@echo off +where node.exe >nul 2>nul +if errorlevel 1 call choco install nodejs -y & call %~dp0\v-choco-refreshenv +call node.exe %* \ No newline at end of file diff --git a/bin/npm.bat b/bin/npm.bat new file mode 100644 index 0000000..0ca9c58 --- /dev/null +++ b/bin/npm.bat @@ -0,0 +1,4 @@ +@echo off +where npm.cmd >nul 2>nul +if errorlevel 1 call choco install nodejs -y & call %~dp0\v-choco-refreshenv +call npm.cmd %* \ No newline at end of file diff --git a/bin/qemu.cmd b/bin/qemu.cmd new file mode 100644 index 0000000..c255f6d --- /dev/null +++ b/bin/qemu.cmd @@ -0,0 +1,4 @@ +@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 %* \ No newline at end of file diff --git a/bin/ruby.cmd b/bin/ruby.cmd new file mode 100644 index 0000000..4315391 --- /dev/null +++ b/bin/ruby.cmd @@ -0,0 +1,4 @@ +@echo off +where ruby.exe >nul 2>nul +if errorlevel 1 call choco install ruby -y & call %~dp0\v-choco-refreshenv +ruby.exe %* \ No newline at end of file diff --git a/bin/rubyw.cmd b/bin/rubyw.cmd new file mode 100644 index 0000000..1c61240 --- /dev/null +++ b/bin/rubyw.cmd @@ -0,0 +1,4 @@ +@echo off +where rubyw.exe >nul 2>nul +if errorlevel 1 call choco install ruby -y & call %~dp0\v-choco-refreshenv +rubyw.exe %* \ No newline at end of file diff --git a/bin/runghc.cmd b/bin/runghc.cmd new file mode 100644 index 0000000..b89d886 --- /dev/null +++ b/bin/runghc.cmd @@ -0,0 +1,4 @@ +@echo off +where runghc.exe >nul 2>nul +if errorlevel 1 call choco install ghc -y & call %~dp0\v-choco-refreshenv +runghc.exe %* \ No newline at end of file diff --git a/bin/v-rustc.cmd b/bin/rustc.cmd similarity index 100% rename from bin/v-rustc.cmd rename to bin/rustc.cmd diff --git a/bin/v-scoop.cmd b/bin/scoop.bat similarity index 79% rename from bin/v-scoop.cmd rename to bin/scoop.bat index e547833..ee525b5 100644 --- a/bin/v-scoop.cmd +++ b/bin/scoop.bat @@ -1,4 +1,4 @@ @echo off -where scoop 2>nul >nul +where scoop.cmd 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 +call scoop.cmd %* \ No newline at end of file diff --git a/bin/v-bundler.cmd b/bin/v-bundler.cmd deleted file mode 100644 index 9f90875..0000000 --- a/bin/v-bundler.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where bundler >nul 2>nul -if errorlevel 1 call v-gem install bundler -call bundler %* \ No newline at end of file diff --git a/bin/v-cargo.cmd b/bin/v-cargo.cmd deleted file mode 100644 index 44d5cf5..0000000 --- a/bin/v-cargo.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@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-gem.cmd b/bin/v-gem.cmd deleted file mode 100644 index 77dcbb5..0000000 --- a/bin/v-gem.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where gem >nul 2>nul -if errorlevel 1 call v-choco install ruby -y & call %~dp0\v-choco-refreshenv -call gem %* \ No newline at end of file diff --git a/bin/v-ghc.cmd b/bin/v-ghc.cmd deleted file mode 100644 index 4a27699..0000000 --- a/bin/v-ghc.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where ghc.exe >nul 2>nul -if errorlevel 1 call v-choco install ghc -y & call %~dp0\v-choco-refreshenv -ghc %* \ No newline at end of file diff --git a/bin/v-irb.cmd b/bin/v-irb.cmd deleted file mode 100644 index 19156f1..0000000 --- a/bin/v-irb.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where irb >nul 2>nul -if errorlevel 1 call v-choco install ruby -y & call %~dp0\v-choco-refreshenv -irb %* \ No newline at end of file diff --git a/bin/v-node.cmd b/bin/v-node.cmd deleted file mode 100644 index ba89b3f..0000000 --- a/bin/v-node.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where npm >nul 2>nul -if errorlevel 1 call v-choco install nodejs -y & call %~dp0\v-choco-refreshenv -call node %* \ No newline at end of file diff --git a/bin/v-npm.cmd b/bin/v-npm.cmd deleted file mode 100644 index ff72c58..0000000 --- a/bin/v-npm.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where npm >nul 2>nul -if errorlevel 1 call v-choco install nodejs -y & call %~dp0\v-choco-refreshenv -call npm %* \ No newline at end of file diff --git a/bin/v-qemu.cmd b/bin/v-qemu.cmd deleted file mode 100644 index d39b6e4..0000000 --- a/bin/v-qemu.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where qemu-system-x86_64.exe 2>nul >nul -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-ruby.cmd b/bin/v-ruby.cmd deleted file mode 100644 index a430c14..0000000 --- a/bin/v-ruby.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where ruby.exe >nul 2>nul -if errorlevel 1 call v-choco install ruby -y & call %~dp0\v-choco-refreshenv -ruby %* \ No newline at end of file diff --git a/bin/v-rubyw.cmd b/bin/v-rubyw.cmd deleted file mode 100644 index ba42330..0000000 --- a/bin/v-rubyw.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where rubyw >nul 2>nul -if errorlevel 1 call v-choco install ruby -y & call %~dp0\v-choco-refreshenv -rubyw %* \ No newline at end of file diff --git a/bin/v-runghc.cmd b/bin/v-runghc.cmd deleted file mode 100644 index 78cc9ae..0000000 --- a/bin/v-runghc.cmd +++ /dev/null @@ -1,4 +0,0 @@ -@echo off -where runghc.exe >nul 2>nul -if errorlevel 1 call v-choco install ghc -y & call %~dp0\v-choco-refreshenv -runghc %* \ No newline at end of file