mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[utils] Fix CrossOver running check detecting the CD helper
This commit is contained in:
parent
de3f3f93af
commit
ac5af04980
|
@ -56,7 +56,7 @@ def mac_get_bottle_path(bottle_name):
|
|||
def mac_is_crossover_running():
|
||||
try:
|
||||
out = subprocess.check_output(['launchctl', 'list'])
|
||||
return b'com.codeweavers.CrossOver' in out
|
||||
return b'com.codeweavers.CrossOver.' in out
|
||||
except Exception as e:
|
||||
_logger.warning(f'Getting list of running application bundles failed: {e!r}')
|
||||
return True # assume the worst
|
||||
|
|
Loading…
Reference in a new issue