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

First startup fix #62

Merged
merged 2 commits into from
Nov 4, 2023
Merged

Conversation

66OJ66
Copy link

@66OJ66 66OJ66 commented Nov 4, 2023

Hi,

When starting shadplay for the 1st time, I got this error Error: No such file or directory (os error 2).

After doing some digging, it looks like UserConfig isn't created automatically.

So this PR simply:

  • Uses the default UserConfig when no existing config is found (and saves this to disk)
  • Removes the use of anyhow from fn main as config loading always succeeds now

@alphastrata alphastrata merged commit cadfdb7 into alphastrata:main Nov 4, 2023
1 check passed
@66OJ66 66OJ66 deleted the first_startup_fix branch November 4, 2023 21:31
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.

2 participants