From b073ab0c8a145ac8b98d3bdce71360caf39cc3dd Mon Sep 17 00:00:00 2001 From: Vinicius Moreira Date: Wed, 2 Oct 2019 11:38:02 -0300 Subject: [PATCH] fix: snap -> apps with commands different from their names do not launch --- CHANGELOG.md | 2 ++ bauh/gems/snap/snap.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 98ba3062..386beda1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - Installed button available after a recent installation if a new search is done - Flatpak: - error when retrieving information ( Flatpak 1.0.X ) +- Snap: + - apps with commands different from their names do not launch - AUR: - ignoring downgrade warnings for different locales diff --git a/bauh/gems/snap/snap.py b/bauh/gems/snap/snap.py index 43132a27..7338a0f5 100644 --- a/bauh/gems/snap/snap.py +++ b/bauh/gems/snap/snap.py @@ -189,7 +189,7 @@ def run(app: SnapApplication, logger: logging.Logger): break if not command: - for c in command: + for c in commands: if not c.endswith('.apm'): command = c