Skip to content

Commit

Permalink
Merge pull request #320 from loathingKernel/fixups
Browse files Browse the repository at this point in the history
EOSGroup: Check for 'user.reg' file to validate prefix path
  • Loading branch information
loathingKernel committed Dec 3, 2023
2 parents c7efe36 + 70af132 commit 588c1a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rare/components/tabs/games/integrations/eos_group.py
Expand Up @@ -143,7 +143,7 @@ def update_select_combo(self, i: None):
if i is None:
i = self.select_pfx_combo.currentIndex()
prefix = os.path.expanduser(self.select_pfx_combo.itemText(i))
if platform.system() != "Windows" and not os.path.exists(prefix):
if platform.system() != "Windows" and not os.path.isfile(os.path.join(prefix, "user.reg")):
return
self.current_prefix = prefix
reg_paths = eos.query_registry_entries(self.current_prefix)
Expand Down

0 comments on commit 588c1a7

Please sign in to comment.