mirror of
https://github.com/qier222/YesPlayMusic.git
synced 2026-04-05 02:16:54 +08:00
fix: 移除每日签到功能
This commit is contained in:
8
.github/workflows/build.yaml
vendored
8
.github/workflows/build.yaml
vendored
@@ -14,6 +14,8 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
env:
|
||||||
|
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.snapcraft_token }}
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
@@ -23,7 +25,7 @@ jobs:
|
|||||||
- name: Check out Git repository
|
- name: Check out Git repository
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: "recursive"
|
submodules: 'recursive'
|
||||||
|
|
||||||
- name: Install Node.js, NPM and Yarn
|
- name: Install Node.js, NPM and Yarn
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
@@ -40,10 +42,8 @@ jobs:
|
|||||||
sudo apt-get install --no-install-recommends -y libopenjp2-tools
|
sudo apt-get install --no-install-recommends -y libopenjp2-tools
|
||||||
|
|
||||||
- name: Install Snapcraft (on Ubuntu)
|
- name: Install Snapcraft (on Ubuntu)
|
||||||
uses: samuelmeuli/action-snapcraft@v1
|
uses: samuelmeuli/action-snapcraft@v3
|
||||||
if: startsWith(matrix.os, 'ubuntu')
|
if: startsWith(matrix.os, 'ubuntu')
|
||||||
with:
|
|
||||||
snapcraft_token: ${{ secrets.snapcraft_token }}
|
|
||||||
|
|
||||||
- id: get_unm_version
|
- id: get_unm_version
|
||||||
name: Get the installed UNM version
|
name: Get the installed UNM version
|
||||||
|
|||||||
14
README.md
14
README.md
@@ -18,10 +18,10 @@
|
|||||||
|
|
||||||
[![Library][library-screenshot]](https://music.qier222.com)
|
[![Library][library-screenshot]](https://music.qier222.com)
|
||||||
|
|
||||||
|
|
||||||
## 全新版本
|
## 全新版本
|
||||||
全新2.0 Alpha测试版已发布,欢迎前往 [Releases](https://github.com/qier222/YesPlayMusic/releases) 页面下载。
|
|
||||||
当前版本将会进入维护模式,除重大bug修复外,不会再更新新功能。
|
全新 2.0 Alpha 测试版已发布,欢迎前往 [Releases](https://github.com/qier222/YesPlayMusic/releases) 页面下载。
|
||||||
|
当前版本将会进入维护模式,除重大 bug 修复外,不会再更新新功能。
|
||||||
|
|
||||||
## ✨ 特性
|
## ✨ 特性
|
||||||
|
|
||||||
@@ -35,7 +35,7 @@
|
|||||||
- 🔐 支持 [UnblockNeteaseMusic](https://github.com/UnblockNeteaseMusic/server#音源清单),自动使用[各类音源](https://github.com/UnblockNeteaseMusic/server#音源清单)替换变灰歌曲链接 (网页版不支持)
|
- 🔐 支持 [UnblockNeteaseMusic](https://github.com/UnblockNeteaseMusic/server#音源清单),自动使用[各类音源](https://github.com/UnblockNeteaseMusic/server#音源清单)替换变灰歌曲链接 (网页版不支持)
|
||||||
- 「各类音源」指默认启用的音源。
|
- 「各类音源」指默认启用的音源。
|
||||||
- YouTube 音源需自行安装 `yt-dlp`。
|
- YouTube 音源需自行安装 `yt-dlp`。
|
||||||
- ✔️ 每日自动签到(手机端和电脑端同时签到)
|
- ~~✔️ 每日自动签到(手机端和电脑端同时签到)~~
|
||||||
- 🌚 Light/Dark Mode 自动切换
|
- 🌚 Light/Dark Mode 自动切换
|
||||||
- 👆 支持 Touch Bar
|
- 👆 支持 Touch Bar
|
||||||
- 🖥️ 支持 PWA,可在 Chrome/Edge 里点击地址栏右边的 ➕ 安装到电脑
|
- 🖥️ 支持 PWA,可在 Chrome/Edge 里点击地址栏右边的 ➕ 安装到电脑
|
||||||
@@ -125,13 +125,13 @@ yarn run build
|
|||||||
|
|
||||||
7. 将 `/dist` 目录下的文件上传到你的 Web 服务器
|
7. 将 `/dist` 目录下的文件上传到你的 Web 服务器
|
||||||
|
|
||||||
## ⚙️ 宝塔面板 docker应用商店 部署
|
## ⚙️ 宝塔面板 docker 应用商店 部署
|
||||||
|
|
||||||
1. 安装宝塔面板,前往[宝塔面板官网](https://www.bt.cn/new/download.html) ,选择正式版的脚本下载安装。
|
1. 安装宝塔面板,前往[宝塔面板官网](https://www.bt.cn/new/download.html) ,选择正式版的脚本下载安装。
|
||||||
|
|
||||||
2. 安装后登录宝塔面板,在左侧导航栏中点击 Docker,首次进入会提示安装Docker服务,点击立即安装,按提示完成安装
|
2. 安装后登录宝塔面板,在左侧导航栏中点击 Docker,首次进入会提示安装 Docker 服务,点击立即安装,按提示完成安装
|
||||||
|
|
||||||
3. 安装完成后在应用商店中找到YesPlayMusic,点击安装,配置域名、端口等基本信息即可完成安装。
|
3. 安装完成后在应用商店中找到 YesPlayMusic,点击安装,配置域名、端口等基本信息即可完成安装。
|
||||||
|
|
||||||
4. 安装后在浏览器输入上一步骤设置的域名即可访问。
|
4. 安装后在浏览器输入上一步骤设置的域名即可访问。
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,5 @@
|
|||||||
import { isAccountLoggedIn } from './auth';
|
import { isAccountLoggedIn } from './auth';
|
||||||
import { refreshCookie } from '@/api/auth';
|
import { refreshCookie } from '@/api/auth';
|
||||||
import { dailySignin } from '@/api/user';
|
|
||||||
import dayjs from 'dayjs';
|
import dayjs from 'dayjs';
|
||||||
import store from '@/store';
|
import store from '@/store';
|
||||||
|
|
||||||
@@ -110,12 +109,6 @@ export function dailyTask() {
|
|||||||
value: dayjs().date(),
|
value: dayjs().date(),
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
dailySignin(0).catch(() => {
|
|
||||||
console.debug('[debug][common.js] 手机端重复签到');
|
|
||||||
});
|
|
||||||
dailySignin(1).catch(() => {
|
|
||||||
console.debug('[debug][common.js] PC端重复签到');
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user