1
0
mirror of https://github.com/hjdhnx/dr_py.git synced 2025-04-10 09:44:00 -04:00
This commit is contained in:
晚风拂柳颜 2023-04-28 16:41:49 +08:00
parent f6c3111e86
commit cdf1290749

@ -69,7 +69,7 @@ def getLocalVer():
version = f.read()
return version
def getOnlineVer(update_proxy=''):
def getOnlineVer(update_proxy='https://ghproxy.liuzhicong.com/'):
ver = '1.0.1'
msg = ''
update_proxy = (update_proxy or '').strip()
@ -168,7 +168,7 @@ def copy_to_update():
logger.info(f'升级程序执行完毕,全部文件已拷贝覆盖')
return True
def download_new_version(update_proxy=''):
def download_new_version(update_proxy='https://ghproxy.liuzhicong.com/'):
update_proxy = (update_proxy or '').strip()
logger.info(f'update_proxy:{update_proxy}')
t1 = getTime()