mirror of
https://github.com/derrod/legendary.git
synced 2024-12-22 01:45:28 +00:00
[cli] Fix launch command on Windows
This commit is contained in:
parent
730eaebec9
commit
7d919c1f2a
|
@ -686,6 +686,10 @@ def main():
|
|||
launch_parser.add_argument('--wine-prefix', dest='wine_pfx', action='store', metavar='<wine pfx path>',
|
||||
default=os.environ.get('LGDRY_WINE_PREFIX', None),
|
||||
help='Override WINE prefix used.')
|
||||
else:
|
||||
# hidden arguments to not break this on Windows
|
||||
launch_parser.add_argument('--wine', help=argparse.SUPPRESS, dest='wine_bin')
|
||||
launch_parser.add_argument('--wine-prefix', help=argparse.SUPPRESS, dest='wine_pfx')
|
||||
|
||||
list_parser.add_argument('--platform', dest='platform_override', action='store', metavar='<Platform>',
|
||||
type=str, help='Override platform that games are shown for')
|
||||
|
|
Loading…
Reference in a new issue