1

I'm building an app using angular. The app will run on the clients computer. When an update is there it will download a zip file from the server and upgrade the required files.

I guess js and html is incapable of copying and modifying files. Our first idea was to run a background application on the os to check for updates and do the updates as necessary. But what other approaches are there to achieve this?

2
  • None. Not through in-browser JS alone anwyway. Can't you just host the app? Or get the client to download/update the zip? Commented Apr 14, 2014 at 11:43
  • this post may help you : stackoverflow.com/questions/23056808/… Commented Apr 14, 2014 at 11:45

1 Answer 1

2

Even if the application is offline, you can still host it, just use AppCache or something like it.

See this post for a tutorial:

http://www.sitepoint.com/creating-offline-html5-apps-with-appcache/
Sign up to request clarification or add additional context in comments.

1 Comment

I think you have pointed me to the correct way. Why didn't i think of this --duh

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.