Improve dev update check

This commit is contained in:
crschnick 2023-04-05 13:58:43 +00:00
parent aa6d646c4e
commit e37f6c9658

View file

@ -249,11 +249,6 @@ public class AppUpdater {
return null;
}
// Don't update value if result is the same
if (lastUpdateCheckResult.getValue() != null && lastUpdateCheckResult.getValue().getVersion().equals(rel.get().getTagName())) {
return lastUpdateCheckResult.getValue();
}
var isUpdate = isUpdate(rel.get().getTagName());
var assetType = AppInstaller.getSuitablePlatformAsset();
var ghAsset = rel.orElseThrow().listAssets().toList().stream()