mirror of
https://github.com/ReVanced/revanced-cli.git
synced 2026-01-17 16:33:58 +00:00
chore: Add click-to-run scripts
This commit is contained in:
14
scripts/modules/install.bat
Normal file
14
scripts/modules/install.bat
Normal file
@@ -0,0 +1,14 @@
|
||||
@echo off
|
||||
|
||||
if "%~1"=="" (
|
||||
set INVALID_ARGS=true
|
||||
)
|
||||
if defined INVALID_ARGS (
|
||||
echo Installs a package using winget.
|
||||
echo:
|
||||
echo Usage: install ^<id^>
|
||||
echo Example: install jqlang.jq
|
||||
exit /b 1
|
||||
)
|
||||
|
||||
run winget install -e --id=%1
|
||||
Reference in New Issue
Block a user