Skip to content
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

Run games using their path as the working directory #43

Closed
neuromancer opened this issue Aug 19, 2018 · 3 comments
Closed

Run games using their path as the working directory #43

neuromancer opened this issue Aug 19, 2018 · 3 comments

Comments

@neuromancer
Copy link
Contributor

Some games require to run their executables from the installed directory to execute properly (e.g. Retro City Rampage). So, it will be useful to change the working directory (chdir) before execute them.

@tkashkin
Copy link
Owner

tkashkin commented Aug 19, 2018

What path do such games usually need? Game dir or executable dir? What if executable is in some subdir?

I hope var dir = executable.get_parent().get_path(); will be enough in most cases.

tkashkin added a commit that referenced this issue Aug 19, 2018
Fixed GameDetaisView/GameDetailsDialog background color for non-elementary gtk themes
@tkashkin
Copy link
Owner

Try 8dc569a.

@neuromancer
Copy link
Contributor Author

Fixed!

Lucki pushed a commit to Lucki/GameHub that referenced this issue Oct 30, 2021
Fixed GameDetaisView/GameDetailsDialog background color for non-elementary gtk themes


Former-commit-id: 8dc569a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants