md
This commit is contained in:
parent
f6c3111e86
commit
cdf1290749
@ -69,7 +69,7 @@ def getLocalVer():
|
|||||||
version = f.read()
|
version = f.read()
|
||||||
return version
|
return version
|
||||||
|
|
||||||
def getOnlineVer(update_proxy=''):
|
def getOnlineVer(update_proxy='https://ghproxy.liuzhicong.com/'):
|
||||||
ver = '1.0.1'
|
ver = '1.0.1'
|
||||||
msg = ''
|
msg = ''
|
||||||
update_proxy = (update_proxy or '').strip()
|
update_proxy = (update_proxy or '').strip()
|
||||||
@ -168,7 +168,7 @@ def copy_to_update():
|
|||||||
logger.info(f'升级程序执行完毕,全部文件已拷贝覆盖')
|
logger.info(f'升级程序执行完毕,全部文件已拷贝覆盖')
|
||||||
return True
|
return True
|
||||||
|
|
||||||
def download_new_version(update_proxy=''):
|
def download_new_version(update_proxy='https://ghproxy.liuzhicong.com/'):
|
||||||
update_proxy = (update_proxy or '').strip()
|
update_proxy = (update_proxy or '').strip()
|
||||||
logger.info(f'update_proxy:{update_proxy}')
|
logger.info(f'update_proxy:{update_proxy}')
|
||||||
t1 = getTime()
|
t1 = getTime()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user