-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow to add user games using commands in PATH #131
Comments
I'll probably refactor that a bit and implement It will probably be something like what's already implemented for #126. That should also allow to get rid of some duplicated code. |
@neuromancer test fca3a8a. It should replace every file picker with custom widget (if I haven't forgot to replace it somewhere). |
It works, but the code to add user games needs some tweaks:
|
Did you try to press Enter or unfocus executable entry? It should find executables in $PATH. GameHub/src/ui/widgets/FileChooserEntry.vala Lines 96 to 109 in fca3a8a
It may be a bit broken though, as I have probably did something wrong in |
Using tab to change to the next field (arguments) is not triggering the PATH check. However, it will work, if you do it twice. After that, the directory is detected properly (e.g. |
Should be fixed. It still needs testing though. |
Works great! Since you fixed that, there is another minor issue that could be related: can you take a look to the "Image URL" field in game properties? It does not update the image if you close the dialog. It only works if you change the field. |
Closing. Reopen if you find any issue with this. |
Former-commit-id: 484aee5
Former-commit-id: 3a5473a
Adding user games that are already in the PATH (e.g using
gzdoom
) is very awkward with the current UI. You need to browse in/usr/bin
and find the executable. It will be easier to allow the user to specify a command line (or browse for the executable file).The text was updated successfully, but these errors were encountered: