update: added python scripts
This commit is contained in:
@@ -1 +0,0 @@
|
||||
.\..\venv\Scripts\pythonw.exe .\..\main.pyw --address "user@example.com" --password "example" --interval 10
|
||||
2
scripts/profile-example.pyw
Normal file
2
scripts/profile-example.pyw
Normal file
@@ -0,0 +1,2 @@
|
||||
import subprocess
|
||||
subprocess.run([".\\..\\venv\\Scripts\\pythonw.exe", ".\\main.py", "--address", "user@example.com", "--password", "password", "--interval", "10"], cwd=".\\..\\")
|
||||
2
scripts/setup-virtualenv.pyw
Normal file
2
scripts/setup-virtualenv.pyw
Normal 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=".\\..\\")
|
||||
@@ -1,3 +0,0 @@
|
||||
python -m venv .\..\venv
|
||||
.\..\venv\Scripts\python.exe -m pip install -r .\..\requirements.txt
|
||||
@pause
|
||||
Reference in New Issue
Block a user