fix: snap launch

This commit is contained in:
Vinicius Moreira
2019-09-18 18:01:01 -03:00
parent 3ac8a08ad8
commit 6c3e0e00bf
14 changed files with 48 additions and 32 deletions

View File

@@ -232,3 +232,7 @@ class SoftwareManager(ABC):
"""
:return: if the instance is enabled by default when there is no user settings defining which gems are enabled.
"""
@abstractmethod
def launch(self, pkg: SoftwarePackage):
pass

View File

@@ -149,13 +149,6 @@ class SoftwarePackage(ABC):
:return: whether the app can be run via the GUI
"""
@abstractmethod
def get_command(self) -> str:
"""
:return: the command to run the application
"""
pass
def is_trustable(self) -> bool:
"""
:return: if the package is distributed by a trustable source