[appimage] fix -> some environment variable are not available during the launch process

This commit is contained in:
Vinicius Moreira
2020-08-20 14:15:55 -03:00
parent f45a47a466
commit a6cbfd4a3f
2 changed files with 2 additions and 1 deletions

View File

@@ -54,6 +54,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
- AppImage - AppImage
- manual file installation - manual file installation
- crashing the application icon is not on the extracted folder root path [#132](https://github.com/vinifmor/bauh/issues/132) - crashing the application icon is not on the extracted folder root path [#132](https://github.com/vinifmor/bauh/issues/132)
- some environment variable are not available during the launch process
- Arch - Arch
- not able to upgrade a package that explicitly defines a conflict with itself (e.g: grub) - not able to upgrade a package that explicitly defines a conflict with itself (e.g: grub)
- downloading some AUR packages sources twice when multi-threaded download is enabled - downloading some AUR packages sources twice when multi-threaded download is enabled

View File

@@ -670,7 +670,7 @@ 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([appimag_path]) subprocess.Popen(args=appimag_path, shell=True)
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))