2020-02-19 15:23:19 +00:00
|
|
|
#!/usr/bin/env python3
|
|
|
|
# -*-coding:UTF-8 -*
|
|
|
|
|
|
|
|
import os
|
|
|
|
import sys
|
|
|
|
|
2022-11-23 10:02:33 +00:00
|
|
|
sys.path.append(os.environ['AIL_HOME'])
|
|
|
|
##################################
|
|
|
|
# Import Project packages
|
|
|
|
##################################
|
|
|
|
from update.bin.old_ail_updater import AIL_Updater
|
2020-02-19 15:23:19 +00:00
|
|
|
|
2022-11-23 10:02:33 +00:00
|
|
|
class Updater(AIL_Updater):
|
|
|
|
"""default Updater."""
|
2020-02-19 15:23:19 +00:00
|
|
|
|
2022-11-23 10:02:33 +00:00
|
|
|
def __init__(self, version):
|
|
|
|
super(Updater, self).__init__(version)
|
2020-02-19 15:23:19 +00:00
|
|
|
|
|
|
|
|
2022-11-23 10:02:33 +00:00
|
|
|
if __name__ == '__main__':
|
|
|
|
updater = Updater('v3.0')
|
|
|
|
updater.run_update()
|