From d6865a8aedce62e507d1f2ed6bc84503c716d873 Mon Sep 17 00:00:00 2001 From: CHERWING <160421895+CHERWING@users.noreply.github.com> Date: Tue, 23 Jul 2024 11:37:07 +0800 Subject: [PATCH] Update CHERWIN_TOOLS.py --- CHERWIN_TOOLS.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/CHERWIN_TOOLS.py b/CHERWIN_TOOLS.py index 3f7a4d3..14304d6 100755 --- a/CHERWIN_TOOLS.py +++ b/CHERWIN_TOOLS.py @@ -336,9 +336,9 @@ def RESTART_SCRIPT(RESTART_SCRIPT_NAME): def CHECK(): global CHERWIN_SCRIPT_CONFIG print('>>>>>>>开始获取版本信息...') - baseurl = 'https://ghproxy.com/https://github.com/CHERWING/CHERWIN_SCRIPTS/raw/main/' + baseurl = 'https://mirror.ghproxy.com/https://github.com/CHERWING/CHERWIN_SCRIPTS/raw/main/' TOOLS_NAME = 'CHERWIN_TOOLS.py' - server_script_url = f'https://ghproxy.com/https://github.com/CHERWING/CHERWIN_SCRIPTS/raw/main/{TOOLS_NAME}' + server_script_url = f'https://mirror.ghproxy.com/https://github.com/CHERWING/CHERWIN_SCRIPTS/raw/main/{TOOLS_NAME}' try: response = requests.get(f'{baseurl}CHERWIN_SCRIPT_CONFIG.json', verify=False) response.encoding = 'utf-8' @@ -497,7 +497,7 @@ def get_ip(): def main(APP_NAME, local_script_name, ENV_NAME, local_version, need_invite=False): global APP_INFO, TIPS, TIPS_HTML - git_url = f'https://ghproxy.com/https://github.com/CHERWING/CHERWIN_SCRIPTS/raw/main/{local_script_name}' + git_url = f'https://mirror.ghproxy.com/https://github.com/CHERWING/CHERWIN_SCRIPTS/raw/main/{local_script_name}' if CHECK(): APP_INFO = CHERWIN_SCRIPT_CONFIG.get("APP_CONFIG", {}).get(ENV_NAME, {}) # print(APP_INFO)