feat: 优化更新检查 下载 功能

This commit is contained in:
alger
2025-01-04 16:13:37 +08:00
parent 3d3992154a
commit 11ced6b418
6 changed files with 91 additions and 26 deletions
+1 -1
View File
@@ -237,7 +237,7 @@ const checkForUpdates = async () => {
const toGithubRelease = () => {
if (updateInfo.value.hasUpdate) {
window.open(updateInfo.value.releaseInfo?.html_url || 'https://github.com/algerkong/AlgerMusicPlayer/releases/latest', '_blank');
store.commit('SET_SHOW_UPDATE_MODAL', true)
} else {
window.open('https://github.com/algerkong/AlgerMusicPlayer/releases', '_blank');
}