Update server script, baseline and running script

This commit is contained in:
Timothyxxx
2024-03-13 15:04:19 +08:00
parent 275b2b6257
commit c2aa009ed8
4 changed files with 379 additions and 113 deletions

View File

@@ -117,7 +117,7 @@ def launch_app():
def capture_screen_with_cursor():
# fixme: when running on virtual machines, the cursor is not captured, don't know why
file_path = os.path.join("screenshots", "screenshot.png")
file_path = os.path.join(os.path.dirname(__file__), "screenshots", "screenshot.png")
user_platform = platform.system()
# Ensure the screenshots directory exists