Add compile time options for telemetry and updates

This commit is contained in:
Ludwig Nussel 2022-02-14 15:01:32 +01:00
parent 0a07169a8a
commit 5d971375f6
4 changed files with 18 additions and 2 deletions

View file

@ -1143,7 +1143,7 @@ ApplicationWindow {
if ("imager" in o) {
var imager = o["imager"]
if ("latest_version" in imager && "url" in imager) {
if (imageWriter.getBoolSetting("check_version") && "latest_version" in imager && "url" in imager) {
if (!imageWriter.isEmbeddedMode() && imageWriter.isVersionNewer(imager["latest_version"])) {
updatepopup.url = imager["url"]
updatepopup.openPopup()