Re:Chrome Apps are dead, as Google shuts down the Chrome Web...
by InternetOfStuff on Thursday December 07, 2017 @09:09AM
(#15870042)
Do you know whether PWAs can access the local file system (which is a basic requirement for a particular Chrome app I use heavily)?
[ Parent
| on HN ]
Re:Chrome Apps are dead, as Google shuts down the Chrome Web...
by mZ6uYffk on Thursday December 07, 2017 @09:53AM
(#15870421)
Yes. In chrome only:
https://developer.mozilla.org/en-US/docs/Web/API/File_and_Di...
It gives JavaScript access to its very own, empty, sand-boxed VFS. However, you can give the page access to directories manually with drag-n-drop or a directory selecting input tag. So if the app needs access to just one parent directory then you're good to go. If you need the app to have indiscriminate access to the entire filesystem then you might be able to give it C:/ (or whatever other root dir) but I have never actually tried it.
Re:Chrome Apps are dead, as Google shuts down the Chrome Web...
by dragonwriter on Thursday December 07, 2017 @12:13PM
(#15871793)
Given Google’s shift to focussing on standard and standards track web platform features in Chrome, and tendency to eliminate everything else, I wouldn't bet on this (which predates that strong focus) being around forever.