mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-09 08:44:15 +02:00
[appimage] fix -> not informing the env vars during the launch process
This commit is contained in:
@@ -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(args=appimag_path, shell=True)
|
subprocess.Popen(args=[appimag_path], shell=True, env={**os.environ})
|
||||||
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