Fix crash when rate limited, nightly naming chng.

This commit is contained in:
Jazzzny
2023-10-23 14:22:42 -04:00
parent 173f77cc31
commit f91c817fce
3 changed files with 27 additions and 16 deletions

View File

@@ -58,7 +58,7 @@ class EntryPoint:
self.frame: wx.Frame = entry(
None,
title=f"{self.constants.patcher_name} {self.constants.patcher_version}{'-nightly' if not self.constants.commit_info[0].startswith('refs/tags') else ''}",
title=f"{self.constants.patcher_name} {self.constants.patcher_version}{' (Nightly)' if not self.constants.commit_info[0].startswith('refs/tags') else ''}",
global_constants=self.constants,
screen_location=None,
**({"patches": patches} if "--gui_patch" in sys.argv or "--gui_unpatch" in sys.argv else {})