Automatically checking for a new version of my application

前端 未结 12 1207
天命终不由人
天命终不由人 2021-01-30 18:12

Trying to honor a feature request from our customers, I\'d like that my application, when Internet is available, check on our website if a new version is available.

The

12条回答
  •  失恋的感觉
    2021-01-30 18:52

    The simplest way to make this happen is to fire an HTTP request using a library like libcurl and make it download an ini or xml file which contains the online version and where a new version would be available online.

    After parsing the xml file you can determine if a new version is needed and download the new version with libcurl and install it.

提交回复
热议问题