Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Auto install and restart - question #134

Closed
wallstudios opened this issue Apr 14, 2016 · 3 comments
Closed

Auto install and restart - question #134

wallstudios opened this issue Apr 14, 2016 · 3 comments

Comments

@wallstudios
Copy link

Great plugin.

Works really well.

One question, at startup is it possible to configure the plugin to automatically restart if it has downloaded an update?

So the app loads, checks for updates, auto downloads update. Currently it waits till next start to install.

can I tell it to automatically restart?

thanks.

@nikDemyankov
Copy link
Member

Hi,

In the chcp.json file you can set update property to now:

{
  "content_url": "http://my.com/some/path/",
  "release": "12312313",
  "update": "now"
}

This tells plugin to install the update immediately after downloading it.

@wallstudios
Copy link
Author

@nikDemyankov thanks. I'll give that a go. Cheers.

@nordnet-deprecation-bot
Copy link
Contributor

👋 Hi! Thank you for your interest in this repo.

😢 We are not using nordnet/cordova-hot-code-push anymore, and we lack the manpower and the experience needed to maintain it. We are aware of the inconveniece that this may cause you. Feel free to use it as is, or create your own fork.

🔒 This will now be closed & locked.

ℹ️ Please see #371 for more information.

@nordnet nordnet locked and limited conversation to collaborators Sep 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants