diff --git a/bauh/gems/web/controller.py b/bauh/gems/web/controller.py index 09720843..dc278f39 100644 --- a/bauh/gems/web/controller.py +++ b/bauh/gems/web/controller.py @@ -504,7 +504,15 @@ class WebApplicationManager(SoftwareManager): env_settings = self.env_updater.read_settings() local_config = read_config() + + if local_config['environment']['system'] and not nativefier.is_available(): + watcher.show_message(title=self.i18n['error'].capitalize(), + body=self.i18n['web.install.global_nativefier.unavailable'].format(n=bold('Nativefier'), app=bold(pkg.name)) + '.', + type_=MessageType.ERROR) + return False + env_components = self.env_updater.check_environment(app=pkg, local_config=local_config, env=env_settings, is_x86_x64_arch=self.context.is_system_x86_64()) + comps_to_update = [c for c in env_components if c.update] if comps_to_update and not self._ask_update_permission(comps_to_update, watcher): diff --git a/bauh/gems/web/resources/locale/en b/bauh/gems/web/resources/locale/en index 1586aad4..eddb8f81 100644 --- a/bauh/gems/web/resources/locale/en +++ b/bauh/gems/web/resources/locale/en @@ -41,6 +41,7 @@ web.install.option.tray.min.label=Start minimized web.install.option.tray.min.tip=The app will be started minimized as an icon in the system tray web.install.option.category.none=none web.install.option.icon.label=Custom icon +web.install.global_nativefier.unavailable={n} seems not to be installed on your system. It will not be possible to install {app} web.uninstall.error.install_dir.not_found=The installation directory {} was not found web.uninstall.error.remove_dir=It was not possible to remove {} web.info.1_url=URL diff --git a/bauh/gems/web/resources/locale/es b/bauh/gems/web/resources/locale/es index 782d6440..e75fffb2 100644 --- a/bauh/gems/web/resources/locale/es +++ b/bauh/gems/web/resources/locale/es @@ -41,6 +41,7 @@ web.install.option.tray.min.label=Iniciar minimizado web.install.option.tray.min.tip=La aplicación se iniciará minimizada como un ícono en la bandeja del sistema web.install.option.category.none=ninguna web.install.option.icon.label=Icono personalizado +web.install.global_nativefier.unavailable={n} parece no estar instalado en su sistema. No será posible instalar {app} web.uninstall.error.install_dir.not_found=No se encontró el directorio de instalación {} web.uninstall.error.remove_dir=No fue posible eliminar {} web.info.1_url=URL diff --git a/bauh/gems/web/resources/locale/pt b/bauh/gems/web/resources/locale/pt index 83390119..6a287a5d 100644 --- a/bauh/gems/web/resources/locale/pt +++ b/bauh/gems/web/resources/locale/pt @@ -41,6 +41,7 @@ web.install.option.tray.min.label=Iniciar minimizado web.install.option.tray.min.tip=O aplicativo será iniciado minimizado como um ícone da bandeja do sistema web.install.option.category.none=nenhuma web.install.option.icon.label=Ícone alternativo +web.install.global_nativefier.unavailable={n} não parece estar instalado no seu sistema. Não será possível instalar {app} web.uninstall.error.install_dir.not_found=O diretório de instalação {} não foi encontrado web.uninstall.error.remove=Não foi possível remover {} web.info.1_url=URL