mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-22 23:49:09 -04:00
Fix choco update check
This commit is contained in:
@@ -88,7 +88,7 @@ public class ChocoUpdater extends UpdateHandler {
|
||||
|
||||
var chocoRelease = getOutdatedPackageUpdateVersion();
|
||||
// Use current release if the update is not available for choco yet
|
||||
if (chocoRelease.isPresent() && !chocoRelease.get().equals(rel.getTag())) {
|
||||
if (chocoRelease.isEmpty() || !chocoRelease.get().equals(rel.getTag())) {
|
||||
rel = AppRelease.of(AppProperties.get().getVersion());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user