Auto update for specific files rather than the whole application?
See original GitHub issueI’m trying to add auto update feature to my nw.js app. I checked #233 and node-webkit-updater, and find that the only thing we can do now is to update the whole app all together, which will take quite some time on downloading, especially for big apps.
If we can update specific files, the downloading is much faster, and for updates that do not affect stuff like node-main
, a simple reload of the web page rather than restarting the app is enough to get the latest version working.
Updating specific files is mentioned in the discussion in #223, and the difficult part seems to be getting inside nw.pak
. I’m thinking maybe we can do update in the temp directory and some how build a new nw.pak
from there?
Any thoughts on this? THX.
<bountysource-plugin>
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource. </bountysource-plugin>
Issue Analytics
- State:
- Created 8 years ago
- Reactions:4
- Comments:6
Top GitHub Comments
@George35mk i need source code protection feature of nw.js hence have to use nw.js
https://github.com/electron/windows-installer This Is gona make exe output that can be installed