hrgdavor / jscadui

MIT License
30 stars 9 forks source link

File_System_API #93

Closed hrgdavor closed 6 months ago

hrgdavor commented 9 months ago

remove FileEntry if possible and only use new File_System_API

while working on saving files, I found out that saving only works in new File_System_API, and old way of writing via FileEntry is just silently ignored by browser.

Firefox is strongly against this use-case of browser writing on the file system, so this functionality of listening for changes and writing is limited to chrome/edge (could possibly work in opera).

I was able to get new File_System_API reference to drag dropped files to implement writing, so it is 99.99% that old api is not needed (I guess I used the first thing I found, or it was taken maybe from old jscad code).