mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-07 03:34:15 +02:00
[appimage] fix: trying to download a file without a URL associated with
This commit is contained in:
@@ -512,6 +512,13 @@ class AppImageManager(SoftwareManager):
|
||||
|
||||
def _download(self, pkg: AppImage, watcher: ProcessWatcher) -> Optional[Tuple[str, str]]:
|
||||
appimage_url = pkg.url_download_latest_version if pkg.update else pkg.url_download
|
||||
|
||||
if not appimage_url:
|
||||
watcher.show_message(title=self.i18n['error'],
|
||||
body=self.i18n['appimage.download.no_url'].format(app=bold(pkg.name)),
|
||||
type_=MessageType.ERROR)
|
||||
return
|
||||
|
||||
file_name = appimage_url.split('/')[-1]
|
||||
pkg.version = pkg.latest_version
|
||||
pkg.url_download = appimage_url
|
||||
|
||||
@@ -18,6 +18,7 @@ appimage.downgrade.impossible.title=No s’ha pogut revertir la versió
|
||||
appimage.downgrade.install_version=No s’ha pogut instal·lar la versió {} ({})
|
||||
appimage.downgrade.unknown_version.body=No s’ha pogut identificar la versió actual de {} a l’historial de versions
|
||||
appimage.download.error=No s’ha pogut baixar el fitxer {}. El servidor del fitxer pot estar inactiu.
|
||||
appimage.download.no_url=No download URL associated with the app {app}
|
||||
appimage.error.uninstall_current_version=It was not possible to uninstall the current version of {}
|
||||
appimage.history.0_version=versió
|
||||
appimage.history.1_published_at=data
|
||||
|
||||
@@ -18,6 +18,7 @@ appimage.downgrade.impossible.title=Downgrade nicht möglich
|
||||
appimage.downgrade.install_version=Die Installation der Version {} ({}) war nicht möglich
|
||||
appimage.downgrade.unknown_version.body=Die Identifikation der aktuellen Version von {} im Versionsverlauf war nicht möglich
|
||||
appimage.download.error=Das Herunterladen der Datei {} ist fehlgeschlagen. Eventuell ist der Server nicht verfügbar
|
||||
appimage.download.no_url=No download URL associated with the app {app}
|
||||
appimage.error.uninstall_current_version=Deinstallation der aktuellen Version von {} war nicht möglich
|
||||
appimage.history.0_version=Version
|
||||
appimage.history.1_published_at=Datum
|
||||
|
||||
@@ -18,6 +18,7 @@ appimage.downgrade.impossible.title=Impossible to downgrade
|
||||
appimage.downgrade.install_version=It was not possible to install the version {} ({})
|
||||
appimage.downgrade.unknown_version.body={} current version was not found in its release history
|
||||
appimage.download.error=It was not possible to download the file {}. The file server can be down.
|
||||
appimage.download.no_url=No download URL associated with the app {app}
|
||||
appimage.error.uninstall_current_version=It was not possible to uninstall the current version of {}
|
||||
appimage.history.0_version=version
|
||||
appimage.history.1_published_at=date
|
||||
|
||||
@@ -18,6 +18,7 @@ appimage.downgrade.impossible.title=Imposible revertir la versión
|
||||
appimage.downgrade.install_version=No fue posible instalar la versión {} ({})
|
||||
appimage.downgrade.unknown_version.body=No fue posible identificar la versión actual de {} en su historial de versiones
|
||||
appimage.download.error=No fue posible descargar el archivo {}. El servidor del archivo puede estar inactivo.
|
||||
appimage.download.no_url=No hay URL de descarga asociada a la aplicación {app}
|
||||
appimage.error.uninstall_current_version=It was not possible to uninstall the current version of {}
|
||||
appimage.history.0_version=versión
|
||||
appimage.history.1_published_at=fecha
|
||||
|
||||
@@ -16,6 +16,7 @@ appimage.downgrade.impossible.body={} a une seule version publiée.
|
||||
appimage.downgrade.impossible.title=Impossible à downgrader
|
||||
appimage.downgrade.install_version=Installer la version {} ({}) était impossible
|
||||
appimage.downgrade.unknown_version.body=Impossible d'identifier la version actuelle de {} dans son historique de versions
|
||||
appimage.download.no_url=No download URL associated with the app {app}
|
||||
appimage.error.uninstall_current_version=Impossible de désinstaller la version actuelle de {}
|
||||
appimage.history.0_version=version
|
||||
appimage.history.1_published_at=date
|
||||
|
||||
@@ -17,6 +17,7 @@ appimage.downgrade.impossible.body={} ha solo una versione pubblicata.
|
||||
appimage.downgrade.impossible.title=Impossibile eseguire il downgrade
|
||||
appimage.downgrade.install_version=Non è stato possibile installare la versione {} ({})
|
||||
appimage.downgrade.unknown_version.body=Non è stato possibile identificare la {} versione corrente nella sua cronologia delle versioni
|
||||
appimage.download.no_url=No download URL associated with the app {app}
|
||||
appimage.error.uninstall_current_version=Non è stato possibile disinstallare la versione corrente di {}
|
||||
appimage.history.0_version=versione
|
||||
appimage.history.1_published_at=data
|
||||
|
||||
@@ -18,6 +18,7 @@ appimage.downgrade.impossible.title=Impossível reverter a versão
|
||||
appimage.downgrade.install_version=Não foi possivel instalar a versão {} ({})
|
||||
appimage.downgrade.unknown_version.body=Não foi possível identificar a versão atual de {} no seu histórico de versões
|
||||
appimage.download.error=Não foi possível baixar o arquivo {}. O servidor do arquivo pode estar fora do ar.
|
||||
appimage.download.no_url=Nenhuma URL de download associada ao aplicativo {app}
|
||||
appimage.error.uninstall_current_version=It was not possible to uninstall the current version of {}
|
||||
appimage.history.0_version=versão
|
||||
appimage.history.1_published_at=data
|
||||
|
||||
@@ -18,6 +18,7 @@ appimage.downgrade.impossible.title=Не удалось понизить вер
|
||||
appimage.downgrade.install_version=Не удалось установить версию {} ({})
|
||||
appimage.downgrade.unknown_version.body=Не удалось определить текущую версию {} в истории версий
|
||||
appimage.download.error=Не удалось загрузить файл {}. Файловый сервер не отвечает
|
||||
appimage.download.no_url=No download URL associated with the app {app}
|
||||
appimage.error.uninstall_current_version=Не удалось удалить текущую версию {}
|
||||
appimage.history.0_version=версия
|
||||
appimage.history.1_published_at=дата
|
||||
|
||||
@@ -18,6 +18,7 @@ appimage.downgrade.impossible.title=Sürüm düşürmek imkansız
|
||||
appimage.downgrade.install_version={} ({}) sürümünü kurmak mümkün değildi
|
||||
appimage.downgrade.unknown_version.body=Sürüm geçmişinde {} mevcut sürümü tanımlamak mümkün değildi
|
||||
appimage.download.error={} dosyası indirilemedi. Dosya sunucusu kapalı olabilir.
|
||||
appimage.download.no_url=No download URL associated with the app {app}
|
||||
appimage.error.uninstall_current_version={} mevcut sürümünü kaldırmak mümkün değildi
|
||||
appimage.history.0_version=sürüm
|
||||
appimage.history.1_published_at=tarih
|
||||
|
||||
Reference in New Issue
Block a user