From 16077b33410e47f884002cbb2388b2d746c22f8e Mon Sep 17 00:00:00 2001 From: jxxghp Date: Mon, 9 Oct 2023 21:13:36 +0800 Subject: [PATCH] fix #769 --- .github/workflows/build.yml | 1 + app/plugins/invitessignin/__init__.py | 2 +- app/utils/system.py | 2 +- version.py | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index d3064eb6b..4887235d5 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -60,6 +60,7 @@ jobs: Windows-build: runs-on: windows-latest + name: Build Windows Binary steps: - name: Checkout uses: actions/checkout@v4 diff --git a/app/plugins/invitessignin/__init__.py b/app/plugins/invitessignin/__init__.py index 1a8d05283..f8bd39fdc 100644 --- a/app/plugins/invitessignin/__init__.py +++ b/app/plugins/invitessignin/__init__.py @@ -22,7 +22,7 @@ class InvitesSignin(_PluginBase): # 插件图标 plugin_icon = "invites.png" # 主题色 - plugin_color = "#4FB647" + plugin_color = "#FFFFFF" # 插件版本 plugin_version = "1.0" # 插件作者 diff --git a/app/utils/system.py b/app/utils/system.py index 10243801e..47cbe5f18 100644 --- a/app/utils/system.py +++ b/app/utils/system.py @@ -97,7 +97,7 @@ def link(src: Path, dest: Path) -> Tuple[int, str]: """ 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) diff --git a/version.py b/version.py index ae318a0f3..e1d3dd995 100644 --- a/version.py +++ b/version.py @@ -1 +1 @@ -APP_VERSION = 'v1.2.9' +APP_VERSION = 'v1.3.0'