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

chdir to exe path #345

Merged
merged 8 commits into from
Aug 9, 2023
Merged

chdir to exe path #345

merged 8 commits into from
Aug 9, 2023

Conversation

dethrace-labs
Copy link
Owner

@dethrace-labs dethrace-labs commented Aug 7, 2023

This patch uses DETHRACE_ROOT_DIR if defined, otherwise, uses the executable path to set the root directory

Fixes #308

src/harness/os/windows.c Outdated Show resolved Hide resolved
src/harness/os/linux.c Outdated Show resolved Hide resolved
src/harness/include/harness/os.h Outdated Show resolved Hide resolved
@dethrace-labs dethrace-labs merged commit 511d827 into main Aug 9, 2023
5 checks passed
@dethrace-labs dethrace-labs deleted the chdir_to_exe_path branch August 9, 2023 00:56
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

Successfully merging this pull request may close these issues.

Dethrace fails to find gamedata when started through the Launcher (on Macos)
2 participants