mirror of
https://github.com/LTTLabsOSS/markbench-tests.git
synced 2026-01-07 21:24:06 -05:00
1
.github/CODEOWNERS
vendored
Normal file
1
.github/CODEOWNERS
vendored
Normal file
@@ -0,0 +1 @@
|
||||
* @LTTLabsOSS/lttlabs
|
||||
@@ -6,7 +6,7 @@ import re
|
||||
def get_resolution() -> tuple[int]:
|
||||
"""Gets resolution width and height from local xml file created by game."""
|
||||
username = os.getlogin()
|
||||
config_path = f"C:\\Users\\{username}\\Documents\\My Games\\F1 22\\hardwaresettings"
|
||||
config_path = f"C:\\Users\\{username}\\Documents\\My Games\\F1 23\\hardwaresettings"
|
||||
config_filename = "hardware_settings_config.xml"
|
||||
resolution = re.compile(r"<resolution width=\"(\d+)\" height=\"(\d+)\"")
|
||||
cfg = f"{config_path}\\{config_filename}"
|
||||
|
||||
Reference in New Issue
Block a user