How to cause a chrome app to update as soon as possible?

前端 未结 3 1295
没有蜡笔的小新
没有蜡笔的小新 2020-12-24 15:05

Deploying a chrome packaged app and publishing updates on the chrome web store allows users to automatically receive application updates. There are situations where you want

3条回答
  •  -上瘾入骨i
    2020-12-24 15:45

    Depending on your application, when an update is detected you may want to use something like setTimeout and call chrome.runtime.restart() or chrome.runtime.restart() later

提交回复
热议问题