🔐 Transfer to gitlab.
This commit is contained in:
parent
c835016590
commit
f25d8cdf90
@ -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" \
|
||||
|
Loading…
Reference in New Issue
Block a user