add support for running winetricks in unattended mode - #492
Conversation
|
There is no need to add Winetricks options specifically in Protontricks; everything after the app ID is passed to the Winetricks as-is and the following already works: $ protontricks <APPID> -qI suppose |
|
This does not work for the gui however, since there is no appid. So: Has no way to pass options to winetricks. |
|
Hmm, I think maybe a better solution than pulling this flag into protontricks would maybe be something like. Thus passing all params after |
|
I mocked the above up, what do you think about doing something like this instead? winetricks_args = []
if "--" in args:
delimiter_idx = args.index("--")
args_before_delimiter = parser.parse_args(args[:delimiter_idx])
if args_before_delimiter.gui:
winetricks_args = list(args[delimiter_idx + 1:])
args = args_before_delimiter
else:
args = parser.parse_args(args)
else:
args = parser.parse_args(args)
args.winetricks_command += winetricks_args |
The 32 bit warnings everytime I open proton tricks really annoys me so I added an option to pass the
-qflag to winetricks which hides them. I'm not sure what else this actually does it seems it automates some installers?