система авторизации
Offline regression tests / windows (3.11) (push) Canceled after 0s
Offline regression tests / windows (3.12) (push) Canceled after 0s
Offline regression tests / windows (3.13) (push) Canceled after 0s

This commit is contained in:
listik committed 2026-10-23 21:14:57 +03:00
1 parent 85425483c0
commit f6f1ae20c2
21 files changed
+581 -110

No files matched your search

+2 -7
View File
@@ -1,7 +1,6 @@
' Starts the web simulator without windows (Windows autostart: shortcut in the Startup folder).
' page - pythonw.exe web_proxy.py (0.0.0.0:8765, public; pythonw.exe excluded from the VPN)
' engine - python.exe web_sim.py --backend via web_sim_service.bat (127.0.0.1:8766, restarted if it stops)
' A part that is already running is not started twice.
' gateway - web_sim_service.bat (authenticated local page and private engines per account)
' A gateway already running is not started twice.
Set sh = CreateObject("WScript.Shell")
Set fso = CreateObject("Scripting.FileSystemObject")
dir = fso.GetParentFolderName(WScript.ScriptFullName)
@@ -17,10 +16,6 @@ Function Running(pattern)
Next
End Function
' the program's own environment (.venv, made by УСТАНОВИТЬ_И_ЗАПУСТИТЬ.bat) when there is one
pyw = "pyw -3"
If fso.FileExists(dir & "\.venv\Scripts\pythonw.exe") Then pyw = """" & dir & "\.venv\Scripts\pythonw.exe"""
If Not Running("web_proxy.py") Then sh.Run pyw & " """ & dir & "\web_proxy.py""", 0, False
If Not Running("web_sim_service.bat") And Not Running("web_sim.py") Then
sh.Run "cmd /c """ & dir & "\web_sim_service.bat""", 0, False
End If