You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I forked the repository and wrote a basic BrowserFS driver. Sappharad@994f3c3
It is probably not very good and may not follow best practices, but it meets my needs. I compiled an application using Emscripten and needed a file browser to easily get files in and out of the Emscripten virtual filesystem. Since BrowserFS supports that as an endpoint and it supports other things too making it easier for me to test I wrote the connector for that instead of Emscripten directly.
BrowserFS needs to be initialized and fs needs to be installed to window.fs for this to work. Once those are set up (which you can do in your component constructor or componentDidMount) the file manager can be used with it.
I'm opening an issue for it in case you either want me to PR the code for you to use as a basis for a "correct" connector, or just to make others aware that it exists. I have no plans to develop it further beyond the features I wanted the connector for, unless I discover something broken with what I'm using it for. Please let me know if you want the code or if I should close this issue now that the connector is mentioned here.
The text was updated successfully, but these errors were encountered:
I forked the repository and wrote a basic BrowserFS driver.
Sappharad@994f3c3
It is probably not very good and may not follow best practices, but it meets my needs. I compiled an application using Emscripten and needed a file browser to easily get files in and out of the Emscripten virtual filesystem. Since BrowserFS supports that as an endpoint and it supports other things too making it easier for me to test I wrote the connector for that instead of Emscripten directly.
BrowserFS needs to be initialized and fs needs to be installed to window.fs for this to work. Once those are set up (which you can do in your component constructor or componentDidMount) the file manager can be used with it.
I'm opening an issue for it in case you either want me to PR the code for you to use as a basis for a "correct" connector, or just to make others aware that it exists. I have no plans to develop it further beyond the features I wanted the connector for, unless I discover something broken with what I'm using it for. Please let me know if you want the code or if I should close this issue now that the connector is mentioned here.
The text was updated successfully, but these errors were encountered: