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 user directory access #24

Merged
merged 1 commit into from
Jul 11, 2021

Conversation

EIREXE
Copy link

@EIREXE EIREXE commented Jul 11, 2021

No description provided.

@Stary2001 Stary2001 force-pushed the 3.3-stable_switch branch from 06c523b to d5f52f6 Compare July 11, 2021 21:03
@Stary2001
Copy link
Owner

This seems fine, though I'd prefer a better fallback in the app_name=="" case (get_resource_dir() is empty except on Android).

@EIREXE
Copy link
Author

EIREXE commented Jul 11, 2021

This seems fine, though I'd prefer a better fallback in the app_name=="" case (get_resource_dir() is empty except on Android).

I copied this fallback from the OSWindows implementation, what do you suggest we do instead? fallback to sdmc:/switch/godot/__unknown or something like that?

@Stary2001
Copy link
Owner

Yeah, that sounds reasonable.

@EIREXE EIREXE force-pushed the fix_user_dir_access branch from 692de70 to d89e069 Compare July 11, 2021 22:03
@EIREXE EIREXE force-pushed the fix_user_dir_access branch from d89e069 to 3c2cbda Compare July 11, 2021 22:04
@EIREXE
Copy link
Author

EIREXE commented Jul 11, 2021

Yeah, that sounds reasonable.

I think this should be it

@Stary2001 Stary2001 merged commit 25b1ae3 into Stary2001:3.3-stable_switch Jul 11, 2021
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