diff --git a/CHANGELOG.md b/CHANGELOG.md index 46672175..0c12d38c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Improvements - Arch - info dialog: displaying the "executable" field if the package is recognized as an application + - removing the "%U" parameter before launching applications to prevent error messages - UI - upgrade summary dialog size diff --git a/bauh/gems/arch/controller.py b/bauh/gems/arch/controller.py index 7522731f..0983639c 100644 --- a/bauh/gems/arch/controller.py +++ b/bauh/gems/arch/controller.py @@ -2780,7 +2780,8 @@ class ArchManager(SoftwareManager): def launch(self, pkg: ArchPackage): if pkg.command: - subprocess.Popen(args=[pkg.command], shell=True, env={**os.environ}) + final_cmd = pkg.command.replace('%U', '') + subprocess.Popen(args=[final_cmd], shell=True, env={**os.environ}) def get_screenshots(self, pkg: SoftwarePackage) -> List[str]: pass