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

fix: ensure config file is found #23

Merged
merged 1 commit into from
Oct 10, 2024
Merged

fix: ensure config file is found #23

merged 1 commit into from
Oct 10, 2024

Conversation

xx4h
Copy link
Owner

@xx4h xx4h commented Oct 10, 2024

  • add new path to find config in (directory where executable resides)
  • change order from:
    1. User home directory
    2. Current working directory to:
    3. Current working directory
    4. User home directory
    5. Executable directory

fixes #21

* add new path to find config in (directory where executable resides)
* change order from:
  1. User home directory
  2. Current working directory
  to:
  1. Current working directory
  2. User home directory
  3. Executable directory

fixes #21
@xx4h
Copy link
Owner Author

xx4h commented Oct 10, 2024

LGTM, tested on linux and windows 11

@xx4h xx4h merged commit 58a1f7c into main Oct 10, 2024
4 of 5 checks passed
@xx4h xx4h deleted the fix-config-path branch October 10, 2024 15:22
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.

Does not find config file
1 participant