diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..88ccc5f --- /dev/null +++ b/requirements.txt @@ -0,0 +1,3 @@ +urllib3<2 +requests +pystray \ No newline at end of file diff --git a/run.bat b/run.bat new file mode 100644 index 0000000..ce77475 --- /dev/null +++ b/run.bat @@ -0,0 +1,15 @@ +@echo off +IF NOT EXIST .venv\Scripts\activate ( + echo Creating virtual environment... + virtualenv .venv + echo Virtual environment created. +) + +echo Activating virtual environment... +call .venv\Scripts\activate + +echo Installing requirements... +pip install -r requirements.txt + +echo Starting HotspotAutoLogin... +start /B "" ".venv/Scripts/pythonw.exe" HotspotAutoLogin.pyw \ No newline at end of file