This commit is contained in:
jxxghp
2023-10-09 21:13:36 +08:00
parent a7cedde721
commit 16077b3341
4 changed files with 4 additions and 3 deletions

View File

@ -22,7 +22,7 @@ class InvitesSignin(_PluginBase):
# 插件图标
plugin_icon = "invites.png"
# 主题色
plugin_color = "#4FB647"
plugin_color = "#FFFFFF"
# 插件版本
plugin_version = "1.0"
# 插件作者

View File

@ -97,7 +97,7 @@ class SystemUtils:
"""
try:
# link到当前目录并改名
tmp_path = (src.parent / dest.name).with_suffix(".mp")
tmp_path = src.parent / (dest.name + ".mp")
tmp_path.hardlink_to(src)
# 移动到目标目录
shutil.move(tmp_path, dest)