diff --git a/src/game_monitor.py b/src/game_monitor.py index 09a97e9..9ae488a 100644 --- a/src/game_monitor.py +++ b/src/game_monitor.py @@ -95,7 +95,7 @@ def run_game_and_gimi(self) -> None: self._logger.info("Starting GIMI") subprocess.Popen( - f'{os.path.join(config.GIMI_DIRECTORY, "3DMigoto Loader.exe")}', + os.path.join(config.GIMI_DIRECTORY, "3DMigoto Loader.exe"), start_new_session=True, shell=True, cwd=config.GIMI_DIRECTORY, diff --git a/src/rich_presence.py b/src/rich_presence.py index 06bd1d1..1a5fb85 100644 --- a/src/rich_presence.py +++ b/src/rich_presence.py @@ -111,7 +111,7 @@ def get_parsed_configs(self, name: str) -> Union[str, Any]: if self.current_character in configRPC_characters: all_attrib.append(configRPC_characters[self.current_character]) else: - all_attrib.append("".join(self.current_character.split()).lower()) + all_attrib.append("_".join(self.current_character.split()).lower()) elif attribute == "region_image": if self.current_region in configRPC_regions: all_attrib.append(configRPC_regions[self.current_region])