Updater config
This commit is contained in:
1 parent
298888bb48
commit
ca4ec4311b
2 files changed
+3
-4
No files matched your search
@@ -11,17 +11,17 @@ config = [{
|
|||||||
'name': 'updater',
|
'name': 'updater',
|
||||||
'label': 'Updater',
|
'label': 'Updater',
|
||||||
'git_only': True,
|
'git_only': True,
|
||||||
|
'description': 'Enable periodic update checking',
|
||||||
'options': [
|
'options': [
|
||||||
{
|
{
|
||||||
'name': 'enabled',
|
'name': 'enabled',
|
||||||
'default': True,
|
'default': True,
|
||||||
'type': 'enabler',
|
'type': 'enabler',
|
||||||
'description': 'Enable periodic update checking',
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
'name': 'automatic',
|
'name': 'automatic',
|
||||||
'default': False,
|
'default': True,
|
||||||
'type': 'enabler',
|
'type': 'bool',
|
||||||
'description': 'Automaticly update when update is available',
|
'description': 'Automaticly update when update is available',
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
|
|||||||
@@ -76,4 +76,3 @@ class Updater(Plugin):
|
|||||||
|
|
||||||
def isEnabled(self):
|
def isEnabled(self):
|
||||||
return Plugin.isEnabled(self) and Env.get('uses_git')
|
return Plugin.isEnabled(self) and Env.get('uses_git')
|
||||||
|
|
||||||
Reference in new issue
Block a user