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

Use backend to verify existence of Resonite path #31

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

Gawdl3y
Copy link
Owner

@Gawdl3y Gawdl3y commented Dec 13, 2023

When the frontend checks for existence of the path, it is restricted to the filesystem scopes that have been permitted for it. The frontend doesn't have any extra scopes on a fresh launch. It was only granted the scope to the directory upon the user choosing it in the selection dialog triggered by the settings. After a relaunch, however, those scopes are no longer active.

This moves the responsibility of checking the existence of the Resonite path on the mods page to the backend, thus avoiding any scope issues entirely.

@Gawdl3y Gawdl3y added the bug Something isn't working label Dec 13, 2023
@Gawdl3y Gawdl3y merged commit 34b430c into main Dec 13, 2023
6 checks passed
@Gawdl3y Gawdl3y deleted the bug/relaunch-path-existence branch December 13, 2023 13:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant