Skip to content

Commit c5a5087

Browse files
committed
fix: 移除每日签到功能
1 parent 58a8ef9 commit c5a5087

File tree

3 files changed

+11
-18
lines changed

3 files changed

+11
-18
lines changed

.github/workflows/build.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ on:
1414
jobs:
1515
release:
1616
runs-on: ${{ matrix.os }}
17+
env:
18+
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.snapcraft_token }}
1719

1820
strategy:
1921
matrix:
@@ -23,7 +25,7 @@ jobs:
2325
- name: Check out Git repository
2426
uses: actions/checkout@v3
2527
with:
26-
submodules: "recursive"
28+
submodules: 'recursive'
2729

2830
- name: Install Node.js, NPM and Yarn
2931
uses: actions/setup-node@v3
@@ -40,10 +42,8 @@ jobs:
4042
sudo apt-get install --no-install-recommends -y libopenjp2-tools
4143
4244
- name: Install Snapcraft (on Ubuntu)
43-
uses: samuelmeuli/action-snapcraft@v1
45+
uses: samuelmeuli/action-snapcraft@v3
4446
if: startsWith(matrix.os, 'ubuntu')
45-
with:
46-
snapcraft_token: ${{ secrets.snapcraft_token }}
4747

4848
- id: get_unm_version
4949
name: Get the installed UNM version

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,10 @@
1818

1919
[![Library][library-screenshot]](https://music.qier222.com)
2020

21-
2221
## 全新版本
23-
全新2.0 Alpha测试版已发布,欢迎前往 [Releases](https://github.com/qier222/YesPlayMusic/releases) 页面下载。
24-
当前版本将会进入维护模式,除重大bug修复外,不会再更新新功能。
22+
23+
全新 2.0 Alpha 测试版已发布,欢迎前往 [Releases](https://github.com/qier222/YesPlayMusic/releases) 页面下载。
24+
当前版本将会进入维护模式,除重大 bug 修复外,不会再更新新功能。
2525

2626
## ✨ 特性
2727

@@ -35,7 +35,7 @@
3535
- 🔐 支持 [UnblockNeteaseMusic](https://github.com/UnblockNeteaseMusic/server#音源清单),自动使用[各类音源](https://github.com/UnblockNeteaseMusic/server#音源清单)替换变灰歌曲链接 (网页版不支持)
3636
- 「各类音源」指默认启用的音源。
3737
- YouTube 音源需自行安装 `yt-dlp`
38-
- ✔️ 每日自动签到(手机端和电脑端同时签到)
38+
- ~~✔️ 每日自动签到(手机端和电脑端同时签到)~~
3939
- 🌚 Light/Dark Mode 自动切换
4040
- 👆 支持 Touch Bar
4141
- 🖥️ 支持 PWA,可在 Chrome/Edge 里点击地址栏右边的 ➕ 安装到电脑
@@ -125,13 +125,13 @@ yarn run build
125125

126126
7.`/dist` 目录下的文件上传到你的 Web 服务器
127127

128-
## ⚙️ 宝塔面板 docker应用商店 部署
128+
## ⚙️ 宝塔面板 docker 应用商店 部署
129129

130130
1. 安装宝塔面板,前往[宝塔面板官网](https://www.bt.cn/new/download.html) ,选择正式版的脚本下载安装。
131131

132-
2. 安装后登录宝塔面板,在左侧导航栏中点击 Docker,首次进入会提示安装Docker服务,点击立即安装,按提示完成安装
132+
2. 安装后登录宝塔面板,在左侧导航栏中点击 Docker,首次进入会提示安装 Docker 服务,点击立即安装,按提示完成安装
133133

134-
3. 安装完成后在应用商店中找到YesPlayMusic,点击安装,配置域名、端口等基本信息即可完成安装。
134+
3. 安装完成后在应用商店中找到 YesPlayMusic,点击安装,配置域名、端口等基本信息即可完成安装。
135135

136136
4. 安装后在浏览器输入上一步骤设置的域名即可访问。
137137

src/utils/common.js

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { isAccountLoggedIn } from './auth';
22
import { refreshCookie } from '@/api/auth';
3-
import { dailySignin } from '@/api/user';
43
import dayjs from 'dayjs';
54
import store from '@/store';
65

@@ -110,12 +109,6 @@ export function dailyTask() {
110109
value: dayjs().date(),
111110
});
112111
});
113-
dailySignin(0).catch(() => {
114-
console.debug('[debug][common.js] 手机端重复签到');
115-
});
116-
dailySignin(1).catch(() => {
117-
console.debug('[debug][common.js] PC端重复签到');
118-
});
119112
}
120113
}
121114

0 commit comments

Comments
 (0)