mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-10 21:24:16 +02:00
[appimage] improvement: not enabled for non-x86_64 systems
This commit is contained in:
@@ -16,6 +16,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- General
|
- General
|
||||||
- handling http redirect errors
|
- handling http redirect errors
|
||||||
|
|
||||||
|
- AppImage
|
||||||
|
- not enabled for non-x86_64 systems
|
||||||
|
|
||||||
- Web
|
- 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.
|
- 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.
|
||||||
- checking for javascript fixes based on the Electron version (saved on disk as `~/.local/share/bauh/web/fixes/electron_{branch}/{app_name}.js`)
|
- checking for javascript fixes based on the Electron version (saved on disk as `~/.local/share/bauh/web/fixes/electron_{branch}/{app_name}.js`)
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ from bauh.api.paths import DESKTOP_ENTRIES_DIR
|
|||||||
from bauh.commons import resource
|
from bauh.commons import resource
|
||||||
from bauh.commons.boot import CreateConfigFile
|
from bauh.commons.boot import CreateConfigFile
|
||||||
from bauh.commons.html import bold
|
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, \
|
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, \
|
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
|
DATABASE_RELEASES_FILE, APPIMAGE_CACHE_DIR, get_icon_path, DOWNLOAD_DIR
|
||||||
@@ -692,6 +692,9 @@ class AppImageManager(SoftwareManager):
|
|||||||
return bool(shutil.which('sqlite3'))
|
return bool(shutil.which('sqlite3'))
|
||||||
|
|
||||||
def can_work(self) -> Tuple[bool, Optional[str]]:
|
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():
|
if not self._is_sqlite3_available():
|
||||||
return False, self.i18n['missing_dep'].format(dep=bold('sqlite3'))
|
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
|
manage_window.upgrade_all.popup.title=Actualitza
|
||||||
message.file.not_exist=Fitxer no existeix
|
message.file.not_exist=Fitxer no existeix
|
||||||
message.file.not_exist.body=El fitxer {} sembla no existir
|
message.file.not_exist.body=El fitxer {} sembla no existir
|
||||||
|
message.requires_architecture=Requires {arch} architecture
|
||||||
mirror=mirall
|
mirror=mirall
|
||||||
missing_dep={dep} is not installed
|
missing_dep={dep} is not installed
|
||||||
name=nom
|
name=nom
|
||||||
|
|||||||
@@ -345,6 +345,7 @@ manage_window.upgrade_all.popup.body=Alle ausgewählten Anwendungen upgraden
|
|||||||
manage_window.upgrade_all.popup.title=Upgrade
|
manage_window.upgrade_all.popup.title=Upgrade
|
||||||
message.file.not_exist=Datei existiert nicht
|
message.file.not_exist=Datei existiert nicht
|
||||||
message.file.not_exist.body=Die Datei {} scheint nicht zu existieren
|
message.file.not_exist.body=Die Datei {} scheint nicht zu existieren
|
||||||
|
message.requires_architecture=Requires {arch} architecture
|
||||||
mirror=mirror
|
mirror=mirror
|
||||||
missing_dep={dep} is not installed
|
missing_dep={dep} is not installed
|
||||||
name=Name
|
name=Name
|
||||||
|
|||||||
@@ -346,6 +346,7 @@ manage_window.upgrade_all.popup.body=Upgrade all selected applications ?
|
|||||||
manage_window.upgrade_all.popup.title=Upgrade
|
manage_window.upgrade_all.popup.title=Upgrade
|
||||||
message.file.not_exist.body=The file {} seems not to exist
|
message.file.not_exist.body=The file {} seems not to exist
|
||||||
message.file.not_exist=File does not exist
|
message.file.not_exist=File does not exist
|
||||||
|
message.requires_architecture=Requires {arch} architecture
|
||||||
mirror=mirror
|
mirror=mirror
|
||||||
missing_dep={dep} is not installed
|
missing_dep={dep} is not installed
|
||||||
name=name
|
name=name
|
||||||
|
|||||||
@@ -347,6 +347,7 @@ manage_window.upgrade_all.popup.body=¿Quiere actualizar todas las aplicaciones
|
|||||||
manage_window.upgrade_all.popup.title=Actualizar
|
manage_window.upgrade_all.popup.title=Actualizar
|
||||||
message.file.not_exist=Archivo no existe
|
message.file.not_exist=Archivo no existe
|
||||||
message.file.not_exist.body=El archivo {} parece no existir
|
message.file.not_exist.body=El archivo {} parece no existir
|
||||||
|
message.requires_architecture=Requiere arquitectura {arch}
|
||||||
mirror=espejo
|
mirror=espejo
|
||||||
missing_dep={dep} no está instalado
|
missing_dep={dep} no está instalado
|
||||||
name=nombre
|
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
|
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.body=Le fichier {} n'a pas l'air d'exister
|
||||||
message.file.not_exist=Fichier inexistant
|
message.file.not_exist=Fichier inexistant
|
||||||
|
message.requires_architecture=Requires {arch} architecture
|
||||||
mirror=mirroir
|
mirror=mirroir
|
||||||
missing_dep={dep} is not installed
|
missing_dep={dep} is not installed
|
||||||
name=nom
|
name=nom
|
||||||
|
|||||||
@@ -347,6 +347,7 @@ manage_window.upgrade_all.popup.body=Aggiornare tutte le applicazioni selezionat
|
|||||||
manage_window.upgrade_all.popup.title=Aggiorna
|
manage_window.upgrade_all.popup.title=Aggiorna
|
||||||
message.file.not_exist=File non esiste
|
message.file.not_exist=File non esiste
|
||||||
message.file.not_exist.body=Il file {} sembra non esistere
|
message.file.not_exist.body=Il file {} sembra non esistere
|
||||||
|
message.requires_architecture=Requires {arch} architecture
|
||||||
mirror=specchio
|
mirror=specchio
|
||||||
missing_dep={dep} is not installed
|
missing_dep={dep} is not installed
|
||||||
name=nome
|
name=nome
|
||||||
|
|||||||
@@ -346,6 +346,7 @@ manage_window.upgrade_all.popup.body=Atualizar todos os aplicativos selecionados
|
|||||||
manage_window.upgrade_all.popup.title=Atualizar
|
manage_window.upgrade_all.popup.title=Atualizar
|
||||||
message.file.not_exist.body=O arquivo {} parece não existir
|
message.file.not_exist.body=O arquivo {} parece não existir
|
||||||
message.file.not_exist=Arquivo não existe
|
message.file.not_exist=Arquivo não existe
|
||||||
|
message.requires_architecture=Requer arquitetura {arch}
|
||||||
mirror=espelho
|
mirror=espelho
|
||||||
missing_dep={dep} não está instalado
|
missing_dep={dep} não está instalado
|
||||||
name=nome
|
name=nome
|
||||||
|
|||||||
@@ -345,6 +345,7 @@ manage_window.upgrade_all.popup.body=Обновить все выбранные
|
|||||||
manage_window.upgrade_all.popup.title=Обновление
|
manage_window.upgrade_all.popup.title=Обновление
|
||||||
message.file.not_exist=Файл не существует
|
message.file.not_exist=Файл не существует
|
||||||
message.file.not_exist.body=Файл {}, кажется, не существует
|
message.file.not_exist.body=Файл {}, кажется, не существует
|
||||||
|
message.requires_architecture=Requires {arch} architecture
|
||||||
mirror=Зеркало
|
mirror=Зеркало
|
||||||
missing_dep={dep} is not installed
|
missing_dep={dep} is not installed
|
||||||
name=Имя
|
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
|
manage_window.upgrade_all.popup.title=Yükselt
|
||||||
message.file.not_exist.body={} Dosyası yok gibi görünüyor
|
message.file.not_exist.body={} Dosyası yok gibi görünüyor
|
||||||
message.file.not_exist=Dosya bulunamuyor
|
message.file.not_exist=Dosya bulunamuyor
|
||||||
|
message.requires_architecture=Requires {arch} architecture
|
||||||
mirror=yansı
|
mirror=yansı
|
||||||
missing_dep={dep} is not installed
|
missing_dep={dep} is not installed
|
||||||
name=isim
|
name=isim
|
||||||
|
|||||||
Reference in New Issue
Block a user