question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Auto update for specific files rather than the whole application?

See original GitHub issue

I’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:open
  • Created 8 years ago
  • Reactions:4
  • Comments:6

github_iconTop GitHub Comments

1reaction
vinaynbcommented, Sep 15, 2017

@George35mk i need source code protection feature of nw.js hence have to use nw.js

0reactions
George35mkcommented, Sep 15, 2017

https://github.com/electron/windows-installer This Is gona make exe output that can be installed

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to allow auto-update of selected apps from Google Play ...
Auto -update Settings for Individual Apps · Open Google Play Store App on your device. · Tap on Menu option on the top...
Read more >
How to develop auto-update for Mac… - Apple Developer
Simply opening this file will do the whole installation process, and it will automatically close the app before installing the update.
Read more >
Control when external references (links) are updated
You can control when and how external references (to other files or databases) in your workbook are updated by changing some Excel settings....
Read more >
How should I implement an auto-updater? - Stack Overflow
First you need a file on your application home web site with the latest version. The best way I think to have special...
Read more >
View and update files in Drive - Google Support
On the web · Right-click the file and select Manage versions. · Click Upload new version and select a file from your computer....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found