Beispiel #1
0
 def installed(self, state):
     if state:
         self.install_dependencies()
         return core.BNPluginInstall(self.handle)
     else:
         return core.BNPluginUninstall(self.handle)
Beispiel #2
0
 def installed(self, state):
     if state:
         return core.BNPluginInstall(self.handle)
     else:
         return core.BNPluginUninstall(self.handle)
Beispiel #3
0
 def uninstall(self):
     """Attempt to uninstall the given plugin"""
     return core.BNPluginUninstall(self.handle)