mirror of
https://github.com/spalencsar/bearhub.git
synced 2026-07-08 19:04:15 +02:00
[arch] improvement: removing the '%U' parameter before launching applications to prevent error messages
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user