9 Commits
Author SHA1 Message Date
Åke Forslund e5677e4730 Improve closing of applications
Try to close using name, if that fails try using the command in the Exec field
in the Desktop file.
2019-11-06 11:56:06 +01:00
Åke Forslund 78557ec064 Modernize skill
- Use intent_handler decorators
- " -> '
- Add docstrings
- Remove __author__ field
- remove old logger
2019-11-06 11:56:00 +01:00
Kris GeslingandGitHub 4c006504ea Skip apps with no name
If app.get_name() returns None, the Skill can't handle the app so should just skip it.
Most likely caused by an empty or malformed desktop entry.
2019-09-19 12:39:53 +09:30
Åke Forslund b5e033dc83 Remove python 2 backwards compatibility 2019-03-03 18:02:20 +01:00
Kathy ReidandGitHub 3df966c053 Update __init__.py
Update license wording to match LICENSE file GPL -> Apache2
2018-08-26 17:13:54 +10:00
Antonio Larrosa 223936a719 Fix code to work with both python2 and python3
Additionally move the imports to the beginning of the file.

I would remove the sys.path.append code, but I didn't
want to change the behaviour.
2018-03-05 13:22:48 +01:00
Åke Forslund a31097171d Fix spacing.
Remove a single tab that hid itself among the normal "    " and remove
some trailing whitespaces.
2017-07-02 09:06:08 +02:00
eClarity Web SolutionsandGitHub 6bd8b4f9d5 Update __init__.py 2017-06-25 13:42:30 -05:00
Augusto Monteiro 'Sparky b90154c7d2 Initial 2017-04-04 11:04:14 -07:00