Chrome 个应用程序即将被删除,还有其他方法可以编辑本地文件吗?
With Chrome Apps soon to be removed, is there another way to edit a local file?
Chrome 应用程序 API 具有非常有用的文件系统 API,它允许用户 select 一个文件供应用程序编辑(读取和写入对).但是,随着整个应用程序 API 即将被删除,还有哪些其他方法可以在本地文件系统上编辑文件?
这不是一个基于意见的问题,我要求所有可能的替代方案。
根据 https://developers.chrome.com/apps/migration:
Q: My app uses the chrome.fileSystem API to read and write user-specified files and / or directories. Can this be done on the open web?
A: In general, no. The open web can read single files that the user opens, but cannot retain access to those files, write to those files, or have any access to directories.
If it is critical for your app to read and write directories (e.g. it is a text editor with a folder view), you will need to either have a native helper app and extension combo, or create a native app.
Chrome 应用程序 API 具有非常有用的文件系统 API,它允许用户 select 一个文件供应用程序编辑(读取和写入对).但是,随着整个应用程序 API 即将被删除,还有哪些其他方法可以在本地文件系统上编辑文件?
这不是一个基于意见的问题,我要求所有可能的替代方案。
根据 https://developers.chrome.com/apps/migration:
Q: My app uses the chrome.fileSystem API to read and write user-specified files and / or directories. Can this be done on the open web?
A: In general, no. The open web can read single files that the user opens, but cannot retain access to those files, write to those files, or have any access to directories.
If it is critical for your app to read and write directories (e.g. it is a text editor with a folder view), you will need to either have a native helper app and extension combo, or create a native app.