[appimage] fix -> not informing the env vars during the launch process

This commit is contained in:
Vinicius Moreira
2020-08-20 14:34:01 -03:00
parent a8eb6dca72
commit 912550e0ed

View File

@@ -670,7 +670,7 @@ class AppImageManager(SoftwareManager):
appimag_path = util.find_appimage_file(installation_dir)
if appimag_path:
subprocess.Popen(args=appimag_path, shell=True)
subprocess.Popen(args=[appimag_path], shell=True, env={**os.environ})
else:
self.logger.error("Could not find the AppImage file of '{}' in '{}'".format(pkg.name, installation_dir))