Read/write/browse 来自客户端*桌面* Meteor 应用程序的文件?

Read/write/browse files from client side *desktop* Meteor app?

(我是 Meteor 和 NodeJs 环境的新手)

我想实现一个基于 Meteor 的网络应用程序,它需要 read/write/browse 客户端本地文件系统上的文件。我用 Meteor 包 arboleya:electrify to make the client side webapp a desktop app, with the hope of having the access rights to read the filesystem (because if Atom 可以,那为什么我的 app 不行)。

到目前为止,我的问题是我不明白如何从 Meteor 客户端使用像 NodeJs 的 fs 这样的 API。

编辑:这个问题是针对连接到远程 Meteor 服务器的客户端 Meteor 应用程序。

Electrify的最新版本在 Electron 的 NodeJS 和 Meteor 之间实现了简单的 IPC 连接作为 RPC,允许 Meteor 客户端远程调用 Electron 的 NodeJS 的功能。