Added vitrual env. support

This commit is contained in:
Deniz Şafak
2024-03-09 20:15:12 +03:00
committed by GitHub
parent 3ef3880ae4
commit 5fe32a52ab
2 changed files with 18 additions and 0 deletions
+3
View File
@@ -0,0 +1,3 @@
urllib3<2
requests
pystray
+15
View File
@@ -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