mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
[appimage] fix: displaying updates without the associated download URL for some applications
This commit is contained in:
@@ -9,6 +9,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- General
|
||||
- more fixes related to some backend commands hanging
|
||||
- crashing when trying to retrieve a file size without proving its URL [#207](https://github.com/vinifmor/bauh/issues/207)
|
||||
|
||||
- AppImage
|
||||
- displaying updates without the associated download URL for some applications [#207](https://github.com/vinifmor/bauh/issues/207)
|
||||
|
||||
- Flatpak
|
||||
- not displaying update components not associated with installed packages
|
||||
@@ -20,6 +23,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
- displaying initial warnings related to supported technologies even when they are not enabled or have the required dependencies
|
||||
- crashing when QT components sizes are not integers [#198](https://github.com/vinifmor/bauh/issues/198)
|
||||
|
||||
|
||||
|
||||
## [0.9.20] 2021-11-05
|
||||
### Improvements
|
||||
- AppImage:
|
||||
|
||||
@@ -279,16 +279,18 @@ class AppImageManager(SoftwareManager):
|
||||
if app.name.lower() == tup[0].lower() and (not app.github or app.github.lower() == tup[1].lower()):
|
||||
continuous_version = app.version == 'continuous'
|
||||
continuous_update = tup[2] == 'continuous'
|
||||
if continuous_version and not continuous_update:
|
||||
app.update = True
|
||||
elif continuous_update and not continuous_version:
|
||||
app.update = False
|
||||
else:
|
||||
try:
|
||||
app.update = parse_version(tup[2]) > parse_version(app.version) if tup[2] else False
|
||||
except:
|
||||
|
||||
if tup[3]:
|
||||
if continuous_version and not continuous_update:
|
||||
app.update = True
|
||||
elif continuous_update and not continuous_version:
|
||||
app.update = False
|
||||
traceback.print_exc()
|
||||
else:
|
||||
try:
|
||||
app.update = parse_version(tup[2]) > parse_version(app.version) if tup[2] else False
|
||||
except:
|
||||
app.update = False
|
||||
traceback.print_exc()
|
||||
|
||||
if app.update:
|
||||
app.latest_version = tup[2]
|
||||
|
||||
Reference in New Issue
Block a user