diff --git a/main.py b/main.py index 73c61d7..4c48162 100644 --- a/main.py +++ b/main.py @@ -41,11 +41,17 @@ urllib3.disable_warnings(urllib3.exceptions.InsecureRequestWarning) -os.system(f"title ValoAssist v{version}") +title_with_version = f"ValoAssist v{version}" + +os.system(f"title {title_with_version}") server = "" -os.system("mode con cols=200 lines=50") +#os.system("mode con cols=200 lines=50") + +import pygetwindow +win = pygetwindow.getWindowsWithTitle(title_with_version)[0] +win.size = (1536, 864) def program_exit(status: int): # so we don't need to import the entire sys module log(f"exited program with error code {status}") diff --git a/requirements.txt b/requirements.txt index f3bf2a2..5826286 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17,3 +17,4 @@ urllib3==2.0.7 wcwidth==0.2.6 websocket-server==0.6.4 websockets==11.0.3 +pygetwindow==0.0.9 \ No newline at end of file