From f25d8cdf90edb0229b1b86aa6955c5d7c8cf0fd8 Mon Sep 17 00:00:00 2001 From: Xtao_dada Date: Thu, 24 Feb 2022 13:24:17 +0000 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=90=20Transfer=20to=20gitlab.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pagermaid/modules/update.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pagermaid/modules/update.py b/pagermaid/modules/update.py index 2f029fd..3f8c9c9 100644 --- a/pagermaid/modules/update.py +++ b/pagermaid/modules/update.py @@ -23,7 +23,7 @@ try: git_ssh = config["git_ssh"] need_update_check = strtobool(config['update_check']) except KeyError: - git_ssh = "https://github.com/Xtao-Labs/PagerMaid-Modify.git" + git_ssh = "https://gitlab.com/Xtao-Labs/pagermaid-modify.git" need_update_check = True @@ -101,7 +101,7 @@ async def update(context): git_date = run("git log -1 --format='%at'", stdout=PIPE, shell=True).stdout.decode() git_date = datetime.utcfromtimestamp(int(git_date)).strftime("%Y/%m/%d %H:%M:%S") git_hash = run("git rev-parse --short HEAD", stdout=PIPE, shell=True).stdout.decode().strip() - get_hash_link = f"https://github.com/Xtao-Labs/PagerMaid-Modify/commit/{git_hash}" + get_hash_link = f"https://gitlab.com/Xtao-Labs/pagermaid-modify/-/commit/{git_hash}" # Generate the text text = f"{lang('status_platform')}: {str(platform.platform())}\n" \ f"{lang('update_platform_version')}: {str(platform.version())}\n" \