mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 01:14:15 +02:00
[fix][flatpak] Ignoring no related updates
This commit is contained in:
@@ -8,9 +8,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
### Improvements
|
||||
- Not breaking the application when a i18n (translation) key was not found
|
||||
- Adding all english (**en**) i18n keys to help people with the application translation
|
||||
- AppImage:
|
||||
- AppImage
|
||||
- AppImage updater daemon replaced by a default Python thread to reduce memory usage
|
||||
|
||||
### Fixes
|
||||
- Flatpak
|
||||
- Ignoring no related updates ( there are some scenarios the updates are not listed due to warnings / suggestions related to some specific runtimes if the param **--no-related** is not informed )
|
||||
|
||||
## [0.7.2] 2019-11-01
|
||||
### Improvements
|
||||
- Snap
|
||||
|
||||
@@ -144,7 +144,7 @@ def update(app_ref: str):
|
||||
:param app_ref:
|
||||
:return:
|
||||
"""
|
||||
return new_subprocess([BASE_CMD, 'update', '-y', app_ref])
|
||||
return new_subprocess([BASE_CMD, 'update', '--no-related', '-y', app_ref])
|
||||
|
||||
|
||||
def uninstall(app_ref: str):
|
||||
@@ -158,7 +158,7 @@ def uninstall(app_ref: str):
|
||||
|
||||
def list_updates_as_str(version: str):
|
||||
if version < '1.2':
|
||||
return run_cmd('{} update'.format(BASE_CMD), ignore_return_code=True)
|
||||
return run_cmd('{} update --no-related'.format(BASE_CMD), ignore_return_code=True)
|
||||
else:
|
||||
updates = new_subprocess([BASE_CMD, 'update']).stdout
|
||||
|
||||
|
||||
Reference in New Issue
Block a user