git updater plugin ok
This commit is contained in:
parent
13805836bd
commit
0c80c440e7
@ -28,7 +28,7 @@ class GitUpdaterController(ObController):
|
||||
logging.warn('Git Updater doesn\'t support macos dependency manager, install system dependencies manually with homebrew')
|
||||
|
||||
run_system_command(['git', '-C', get_working_directory(), 'stash'])
|
||||
run_system_command(['git', '-C', get_working_directory(), 'checkout', 'tags/v{}'.format(Application.get_version)])
|
||||
run_system_command(['git', '-C', get_working_directory(), 'checkout', 'tags/v{}'.format(Application.get_version())])
|
||||
run_system_command(['git', '-C', get_working_directory(), 'pull'])
|
||||
run_system_command(['pip3', 'install', '-r', 'requirements.txt'])
|
||||
sudo_run_system_command(['systemctl', 'restart', Application.get_name()])
|
||||
|
||||
Loading…
Reference in New Issue
Block a user