mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 17:55:27 +00:00
[cli] Show app-compatible bottles as recommended rather than default
This commit is contained in:
parent
710f5d07d7
commit
a48bad9999
|
@ -2247,11 +2247,10 @@ class LegendaryCLI:
|
||||||
for i, bottle in enumerate(usable_bottles, start=1):
|
for i, bottle in enumerate(usable_bottles, start=1):
|
||||||
extra = []
|
extra = []
|
||||||
|
|
||||||
if not default_choice and cx_version in bottle['cx_versions']:
|
if cx_version in bottle['cx_versions']:
|
||||||
if app_name in bottle['compatible_apps']:
|
if app_name in bottle['compatible_apps']:
|
||||||
default_choice = i
|
extra.append('recommended')
|
||||||
extra.append('default')
|
if not default_choice and bottle['is_default']:
|
||||||
elif bottle['is_default']:
|
|
||||||
default_choice = i
|
default_choice = i
|
||||||
extra.append('default')
|
extra.append('default')
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue