update: fixed unwanted overwriting

This commit is contained in:
2025-09-03 12:23:41 +08:00
parent 5990ddbaca
commit 41df5739c3
6 changed files with 110 additions and 92 deletions

View File

@@ -0,0 +1,3 @@
cd /D .\..\
.\venv\Scripts\pythonw.exe .\main.py --address "user@example.com" --password "example" --interval 10
@pause

View File

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

View File

@@ -0,0 +1,4 @@
cd /D .\..\
python -m venv venv
.\venv\Scripts\pip.exe install -r ./requirements.txt
@pause

View File

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