fix: snap -> apps with commands different from their names do not launch

This commit is contained in:
Vinicius Moreira
2019-10-02 11:38:02 -03:00
parent 03b7e1f5d6
commit b073ab0c8a
2 changed files with 3 additions and 1 deletions

View File

@@ -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 - Installed button available after a recent installation if a new search is done
- Flatpak: - Flatpak:
- error when retrieving information ( Flatpak 1.0.X ) - error when retrieving information ( Flatpak 1.0.X )
- Snap:
- apps with commands different from their names do not launch
- AUR: - AUR:
- ignoring downgrade warnings for different locales - ignoring downgrade warnings for different locales

View File

@@ -189,7 +189,7 @@ def run(app: SnapApplication, logger: logging.Logger):
break break
if not command: if not command:
for c in command: for c in commands:
if not c.endswith('.apm'): if not c.endswith('.apm'):
command = c command = c