def get_version():
    with open('pack/release_version.json', 'r+', encoding='utf8') as f:
        try:
            versions = json.load(f)
            return ('v' + versions['release_versions'][(- 1)][(- 1)])
        except Exception as e:
            print('读取版本失败 : ', e)
            exit((- 1))
def get_version():
    with open('pack/release_version.json', 'r+', encoding='utf8') as f:
        try:
            versions = json.load(f)
            return ('v' + versions['release_versions'][(- 1)][(- 1)])
        except Exception as e:
            print('读取版本失败 : ', e)
            exit((- 1))