Abstract:
Embodiments of the present invention disclose a method for updating a Web App. The method includes: when receiving an update request for updating a currently running Web application, continuing to run the Web application, and downloading an update package of a new version of the Web application; after the downloading of the update package is completed, performing installation of the update package in a background, where a new installation file generated during the installation is stored in a first path, which is different from a second path where an installation file of a current version of the Web application is stored; and loading a page file in the new installation file to the Web application to display a page of the new version.