chore: Add click-to-run scripts

This commit is contained in:
oSumAtrIX
2024-10-19 06:35:25 +02:00
parent 504c6c1ea5
commit e87ee9c5b8
19 changed files with 284 additions and 2 deletions

View File

@@ -0,0 +1,20 @@
@echo off
setlocal
if "%~1"=="" (
set INVALID_ARGS=true
)
if defined INVALID_ARGS (
echo Deletes a directory relative to the current directory using the rmdir command.
echo:
echo Usage: delete ^<path^>
echo Example: delete C:/revanced
exit /b 1
)
set DIRECTORY=%1
if exist %DIRECTORY% (
echo Confirm deletion of
run rmdir /s %DIRECTORY%
)