mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 15:34:15 +02:00
[gem.appimage] improvement: hiding the app's launching output
This commit is contained in:
@@ -10,7 +10,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|||||||
- manual installation
|
- manual installation
|
||||||
- adding generic file filter extension (.*) since some desktop environments filters are case sensitive (https://github.com/vinifmor/bauh/issues/185)[#185]
|
- adding generic file filter extension (.*) since some desktop environments filters are case sensitive (https://github.com/vinifmor/bauh/issues/185)[#185]
|
||||||
- generating a default **.desktop** file based on the installation form for AppImage files that provide empty desktop entries (https://github.com/vinifmor/bauh/issues/186)[#186]
|
- generating a default **.desktop** file based on the installation form for AppImage files that provide empty desktop entries (https://github.com/vinifmor/bauh/issues/186)[#186]
|
||||||
|
- hiding the app's launching output
|
||||||
|
|
||||||
### Fixes
|
### Fixes
|
||||||
- AppImage
|
- AppImage
|
||||||
- search: not matching manually installed applications
|
- search: not matching manually installed applications
|
||||||
|
|||||||
@@ -219,7 +219,7 @@ class AppImageManager(SoftwareManager):
|
|||||||
installed = self.read_installed(connection=apps_conn, disk_loader=disk_loader, limit=limit, only_apps=False, pkg_types=None, internet_available=True).installed
|
installed = self.read_installed(connection=apps_conn, disk_loader=disk_loader, limit=limit, only_apps=False, pkg_types=None, internet_available=True).installed
|
||||||
except:
|
except:
|
||||||
installed = None
|
installed = None
|
||||||
|
|
||||||
installed_found = []
|
installed_found = []
|
||||||
|
|
||||||
if installed:
|
if installed:
|
||||||
@@ -715,7 +715,8 @@ class AppImageManager(SoftwareManager):
|
|||||||
appimag_path = util.find_appimage_file(installation_dir)
|
appimag_path = util.find_appimage_file(installation_dir)
|
||||||
|
|
||||||
if appimag_path:
|
if appimag_path:
|
||||||
subprocess.Popen(args=[appimag_path], shell=True, env={**os.environ})
|
subprocess.Popen(args=[appimag_path], shell=True, env={**os.environ},
|
||||||
|
stdout=subprocess.DEVNULL, stderr=subprocess.DEVNULL, stdin=subprocess.DEVNULL)
|
||||||
else:
|
else:
|
||||||
self.logger.error("Could not find the AppImage file of '{}' in '{}'".format(pkg.name, installation_dir))
|
self.logger.error("Could not find the AppImage file of '{}' in '{}'".format(pkg.name, installation_dir))
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user