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 files_dropped in HTML5 export mono builds. #55594

Merged
merged 1 commit into from
Dec 9, 2021

Conversation

Fro-Z
Copy link
Contributor

@Fro-Z Fro-Z commented Dec 3, 2021

This PR fixes #55593

(There was an exception thrown on FS.mkdir() because the path ends with a trailing slash)

@Fro-Z Fro-Z requested a review from a team as a code owner December 3, 2021 16:50
@Calinou Calinou added bug platform:web topic:porting cherrypick:3.4 cherrypick:3.x Considered for cherry-picking into a future 3.x release labels Dec 3, 2021
@Calinou Calinou added this to the 4.0 milestone Dec 3, 2021
(Ignore trailing slash when creating the temporary directory)
@Fro-Z
Copy link
Contributor Author

Fro-Z commented Dec 3, 2021

(Updated commit author because I was using old git config. Otherwise no change to the code)

@Faless
Copy link
Collaborator

Faless commented Dec 6, 2021

@Fro-Z are you using a custom build? I can't reproduce the linked issue with official 3.4 builds, but it's something that might have changed in more recent emscripten versions (I know they are doing and heavy refactoring of the FS library).

@Fro-Z
Copy link
Contributor Author

Fro-Z commented Dec 8, 2021

@Faless No, I am using the official 3.4 mono release. Godot Engine v3.4.stable.mono.official.206ba70f4 to be precise

@Faless
Copy link
Collaborator

Faless commented Dec 9, 2021

@Fro-Z oh, I see, so it was the other way around, old versions of emscripten (used for mono builds) does not support it.

@Faless Faless changed the title Fix files_dropped in HTML5 export. Fix files_dropped in HTML5 export mono builds. Dec 9, 2021
@Faless Faless merged commit 41e5f92 into godotengine:master Dec 9, 2021
@Faless
Copy link
Collaborator

Faless commented Dec 9, 2021

Thanks!

@akien-mga
Copy link
Member

Cherry-picked for 3.5.

@akien-mga akien-mga removed the cherrypick:3.x Considered for cherry-picking into a future 3.x release label Dec 9, 2021
@akien-mga
Copy link
Member

Cherry-picked for 3.4.1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

files_dropped signal broken in HTML exported mono projects
4 participants