Automate Google Chrome extension installation

前端 未结 2 813
眼角桃花
眼角桃花 2021-02-04 15:16

I am working on creating a Google Chrome extension. We have it included in an automated build system and since it is constantly being worked on we need a solution to be able to

2条回答
  •  一生所求
    2021-02-04 15:39

    Have a look at auto-updating. You would install the extension once, setting it to auto-update. When you get a new build of it, it should auto-update when chrome next checks. The default interval for checking for updates is several hours, but you can perform a manual update (from the extensions page), or by launching chrome using

    chrome.exe --extensions-update-frequency=45
    

    to set the update frequency to (for example) 45 seconds.

    Your build should just update the extension xml file to let chrome know that a new version is available.

提交回复
热议问题