mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-06 22:54:16 +02:00
[appimage] improvement: not enabled for non-x86_64 systems
This commit is contained in:
@@ -15,6 +15,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
||||
### Improvements
|
||||
- General
|
||||
- handling http redirect errors
|
||||
|
||||
- AppImage
|
||||
- not enabled for non-x86_64 systems
|
||||
|
||||
- Web
|
||||
- using custom installation properties by Electron version if required (available on **bauh-files**). e.g: custom User-Agent for WhatsApp Web on Electron 13.6.X.
|
||||
|
||||
@@ -27,7 +27,7 @@ from bauh.api.paths import DESKTOP_ENTRIES_DIR
|
||||
from bauh.commons import resource
|
||||
from bauh.commons.boot import CreateConfigFile
|
||||
from bauh.commons.html import bold
|
||||
from bauh.commons.system import SystemProcess, new_subprocess, ProcessHandler, run_cmd, SimpleProcess
|
||||
from bauh.commons.system import SystemProcess, new_subprocess, ProcessHandler, SimpleProcess
|
||||
from bauh.gems.appimage import query, INSTALLATION_DIR, APPIMAGE_SHARED_DIR, ROOT_DIR, \
|
||||
APPIMAGE_CONFIG_DIR, UPDATES_IGNORED_FILE, util, get_default_manual_installation_file_dir, DATABASE_APPS_FILE, \
|
||||
DATABASE_RELEASES_FILE, APPIMAGE_CACHE_DIR, get_icon_path, DOWNLOAD_DIR
|
||||
@@ -692,6 +692,9 @@ class AppImageManager(SoftwareManager):
|
||||
return bool(shutil.which('sqlite3'))
|
||||
|
||||
def can_work(self) -> Tuple[bool, Optional[str]]:
|
||||
if not self.context.is_system_x86_64():
|
||||
return False, self.i18n['message.requires_architecture'].format(arch=bold('x86_64'))
|
||||
|
||||
if not self._is_sqlite3_available():
|
||||
return False, self.i18n['missing_dep'].format(dep=bold('sqlite3'))
|
||||
|
||||
|
||||
@@ -346,6 +346,7 @@ manage_window.upgrade_all.popup.body=Voleu actualitzar totes les aplicacions sel
|
||||
manage_window.upgrade_all.popup.title=Actualitza
|
||||
message.file.not_exist=Fitxer no existeix
|
||||
message.file.not_exist.body=El fitxer {} sembla no existir
|
||||
message.requires_architecture=Requires {arch} architecture
|
||||
mirror=mirall
|
||||
missing_dep={dep} is not installed
|
||||
name=nom
|
||||
|
||||
@@ -345,6 +345,7 @@ manage_window.upgrade_all.popup.body=Alle ausgewählten Anwendungen upgraden
|
||||
manage_window.upgrade_all.popup.title=Upgrade
|
||||
message.file.not_exist=Datei existiert nicht
|
||||
message.file.not_exist.body=Die Datei {} scheint nicht zu existieren
|
||||
message.requires_architecture=Requires {arch} architecture
|
||||
mirror=mirror
|
||||
missing_dep={dep} is not installed
|
||||
name=Name
|
||||
|
||||
@@ -346,6 +346,7 @@ manage_window.upgrade_all.popup.body=Upgrade all selected applications ?
|
||||
manage_window.upgrade_all.popup.title=Upgrade
|
||||
message.file.not_exist.body=The file {} seems not to exist
|
||||
message.file.not_exist=File does not exist
|
||||
message.requires_architecture=Requires {arch} architecture
|
||||
mirror=mirror
|
||||
missing_dep={dep} is not installed
|
||||
name=name
|
||||
|
||||
@@ -347,6 +347,7 @@ manage_window.upgrade_all.popup.body=¿Quiere actualizar todas las aplicaciones
|
||||
manage_window.upgrade_all.popup.title=Actualizar
|
||||
message.file.not_exist=Archivo no existe
|
||||
message.file.not_exist.body=El archivo {} parece no existir
|
||||
message.requires_architecture=Requiere arquitectura {arch}
|
||||
mirror=espejo
|
||||
missing_dep={dep} no está instalado
|
||||
name=nombre
|
||||
|
||||
@@ -342,6 +342,7 @@ manage_window.upgrade_all.popup.body=Mettre à jour toutes applications sélecti
|
||||
manage_window.upgrade_all.popup.title=Mettre à jour
|
||||
message.file.not_exist.body=Le fichier {} n'a pas l'air d'exister
|
||||
message.file.not_exist=Fichier inexistant
|
||||
message.requires_architecture=Requires {arch} architecture
|
||||
mirror=mirroir
|
||||
missing_dep={dep} is not installed
|
||||
name=nom
|
||||
|
||||
@@ -347,6 +347,7 @@ manage_window.upgrade_all.popup.body=Aggiornare tutte le applicazioni selezionat
|
||||
manage_window.upgrade_all.popup.title=Aggiorna
|
||||
message.file.not_exist=File non esiste
|
||||
message.file.not_exist.body=Il file {} sembra non esistere
|
||||
message.requires_architecture=Requires {arch} architecture
|
||||
mirror=specchio
|
||||
missing_dep={dep} is not installed
|
||||
name=nome
|
||||
|
||||
@@ -346,6 +346,7 @@ manage_window.upgrade_all.popup.body=Atualizar todos os aplicativos selecionados
|
||||
manage_window.upgrade_all.popup.title=Atualizar
|
||||
message.file.not_exist.body=O arquivo {} parece não existir
|
||||
message.file.not_exist=Arquivo não existe
|
||||
message.requires_architecture=Requer arquitetura {arch}
|
||||
mirror=espelho
|
||||
missing_dep={dep} não está instalado
|
||||
name=nome
|
||||
|
||||
@@ -345,6 +345,7 @@ manage_window.upgrade_all.popup.body=Обновить все выбранные
|
||||
manage_window.upgrade_all.popup.title=Обновление
|
||||
message.file.not_exist=Файл не существует
|
||||
message.file.not_exist.body=Файл {}, кажется, не существует
|
||||
message.requires_architecture=Requires {arch} architecture
|
||||
mirror=Зеркало
|
||||
missing_dep={dep} is not installed
|
||||
name=Имя
|
||||
|
||||
@@ -345,6 +345,7 @@ manage_window.upgrade_all.popup.body=Seçilen tüm uygulamalar yükseltilsin mi
|
||||
manage_window.upgrade_all.popup.title=Yükselt
|
||||
message.file.not_exist.body={} Dosyası yok gibi görünüyor
|
||||
message.file.not_exist=Dosya bulunamuyor
|
||||
message.requires_architecture=Requires {arch} architecture
|
||||
mirror=yansı
|
||||
missing_dep={dep} is not installed
|
||||
name=isim
|
||||
|
||||
Reference in New Issue
Block a user