mirror of
https://github.com/GravitLauncher/Launcher
synced 2024-11-15 11:39:11 +03:00
[FIX] parentRel теперь обновляется.
This commit is contained in:
parent
7e8e332891
commit
4adb51f6cf
1 changed files with 1 additions and 0 deletions
|
@ -45,6 +45,7 @@ public void run() {
|
||||||
if (rel.equals(parenRel)) return;
|
if (rel.equals(parenRel)) return;
|
||||||
LogHelper.warning("Latest release: %s", rel.getName());
|
LogHelper.warning("Latest release: %s", rel.getName());
|
||||||
LogHelper.warning("It`s published at: " + DATE_TIME_FORMATTER.format(LocalDateTime.ofInstant(Instant.ofEpochMilli(rel.getPublished_at().getTime()), ZoneId.systemDefault())));
|
LogHelper.warning("It`s published at: " + DATE_TIME_FORMATTER.format(LocalDateTime.ofInstant(Instant.ofEpochMilli(rel.getPublished_at().getTime()), ZoneId.systemDefault())));
|
||||||
|
parenRel = rel;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LogHelper.error(e);
|
LogHelper.error(e);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue