我需要一个用于个人节点项目的系统托盘。我刚刚在 node.js 中找到了具有该功能的 node-webkit。
所以我想构建没有铬的node-webkit。可能吗?因为,它在文档中说“node-webkit 是定制铬的一部分”如果不是,有没有办法让 nw.exe 尽可能轻?
我需要一个用于个人节点项目的系统托盘。我刚刚在 node.js 中找到了具有该功能的 node-webkit。
所以我想构建没有铬的node-webkit。可能吗?因为,它在文档中说“node-webkit 是定制铬的一部分”如果不是,有没有办法让 nw.exe 尽可能轻?
Sure you can, if you look at the Node Webkit source code, you'll see that components like system tray are written in good old C++, so nothing prevents you from ripping out the bits you do not need.
That being said, are you sure you want to go this way? An installer for a Node Webkit-based application I wrote weighs in at under 30mb in total. For me, it's just not worth the effort to try and rip out bits I do not need.