From 41d459643195f89d0de8e67484caaa0301a7110b Mon Sep 17 00:00:00 2001 From: Arpit Pathak <119810812+Thepathakarpit@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:10:10 +0530 Subject: [PATCH] Created mkbsd.bat, to download all the wallpapers in a single click. Just clone the repository by typing: git clone https://github.com/nadimkobeissi/mkbsd in terminal/cmd go to repo location on file manager double click on mkbsd.txt and boom all wallpapers downloaded --- mkbsd.bat | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 mkbsd.bat diff --git a/mkbsd.bat b/mkbsd.bat new file mode 100644 index 0000000..a97d042 --- /dev/null +++ b/mkbsd.bat @@ -0,0 +1,30 @@ +@echo off +:: Ensure the script runs in the directory where it's located +cd /d %~dp0 + +:: Check if Python is installed +python --version >nul 2>&1 +if %errorlevel% neq 0 ( + echo Python is not installed. Please install Python and try again. + pause + exit /b +) + +:: Check if aiohttp is installed +pip show aiohttp >nul 2>&1 +if %errorlevel% neq 0 ( + echo Installing aiohttp package... + pip install aiohttp +) + +:: Run the Python script mkbsd.py +echo Running mkbsd.py... +python mkbsd.py + +:: Wait for a few seconds to ensure all processes complete +echo Waiting for the process to finish... +timeout /t 5 /nobreak >nul + +:: Notify user +echo All wallpapers are now in the newly created downloads subfolder. +pause