protontricks
protontricks copied to clipboard
Protontricks GUI would be nice
You can make a simple GUI wrapper that will use Winetricks GUI and add this option:
https://i.imgur.com/WihvvGO.png
I can then go ahead and select whatever dependencies i want to install using Winetricks GUI which will install it all to the typed Steam Game ID.
I feel like I should get to addressing this, I currently would love this as a feeature for those who'd want it, perhaps a full fledged GUI written in Python. However, the question would be, what kind of API it would make use of. I personally may prefer Qt.
Whichever one takes the least effort & looks the nicest. ;)
Qt GUI would be amazing! You could use PyQt as you are good at Python :+1:
Perhaps PyQt could work, I'm not quite knowledgeable in using it for GUI creation, it could take quite a bit of effort for me to create such a thing, not that contributions aren't welcome.
Because of the way subprocess is called with sys.argv[2]
the winetricks GUI already works if you you use protontricks APPID --gui
.
Otherwise, you could just use Python subprocess to call zenity
to input the Steam Game ID since zenity is what winetricks uses to display the GUI pictured above:
zenity --entry --title="Game ID" --text='Enter the Steam Game ID:'
Edit: Added zenity dialog in a pull request