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

@@ -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