update: added python scripts

This commit is contained in:
2025-08-28 18:44:56 +08:00
parent 6e6657fda6
commit 0786e9d511
5 changed files with 4 additions and 4 deletions

View File

View File

@@ -1 +0,0 @@
.\..\venv\Scripts\pythonw.exe .\..\main.pyw --address "user@example.com" --password "example" --interval 10

View File

@@ -0,0 +1,2 @@
import subprocess
subprocess.run([".\\..\\venv\\Scripts\\pythonw.exe", ".\\main.py", "--address", "user@example.com", "--password", "password", "--interval", "10"], cwd=".\\..\\")

View File

@@ -0,0 +1,2 @@
import subprocess
subprocess.run(["powershell.exe", "python.exe -m venv venv; .\\venv\\Scripts\\python.exe -m pip install -r requirements.txt"], cwd=".\\..\\")

View File

@@ -1,3 +0,0 @@
python -m venv .\..\venv
.\..\venv\Scripts\python.exe -m pip install -r .\..\requirements.txt
@pause