Change git command
This commit is contained in:
@@ -30,6 +30,11 @@ config = [{
|
||||
'type': 'bool',
|
||||
'description': 'Automaticly update when update is available',
|
||||
},
|
||||
{
|
||||
'name': 'git_command',
|
||||
'default': 'git',
|
||||
'advanced': True
|
||||
},
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
@@ -24,7 +24,7 @@ class Updater(Plugin):
|
||||
|
||||
def __init__(self):
|
||||
|
||||
self.repo = LocalRepository(Env.get('app_dir'))
|
||||
self.repo = LocalRepository(Env.get('app_dir'), command = self.conf('git_command', default = 'git'))
|
||||
|
||||
fireEvent('schedule.interval', 'updater.check', self.check, hours = 6)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user