fix: replace url to old git repo

This commit is contained in:
鲁树人
2025-09-03 20:55:31 +09:00
parent b6ac6ac4c2
commit b8f236a962
6 changed files with 105 additions and 99 deletions

View File

@@ -1,6 +1,6 @@
# Unlock Music 音乐解锁 # Unlock Music 音乐解锁
[![Build Status](https://git.unlock-music.dev/um/web/actions/workflows/build.yml/badge.svg)][ci] [![Build Status](https://git.um-react.app/um/web/actions/workflows/build.yml/badge.svg)][ci]
- 在浏览器中解锁加密的音乐文件。 Unlock encrypted music file in the browser. - 在浏览器中解锁加密的音乐文件。 Unlock encrypted music file in the browser.
- Unlock Music 项目是以学习和技术研究的初衷创建的,修改、再分发时请遵循[授权协议]。 - Unlock Music 项目是以学习和技术研究的初衷创建的,修改、再分发时请遵循[授权协议]。
@@ -11,10 +11,10 @@
> **WARNING** > **WARNING**
> 在本站 fork 不会起到备份的作用,只会浪费服务器储存空间。如无必要请勿 fork 该仓库。 > 在本站 fork 不会起到备份的作用,只会浪费服务器储存空间。如无必要请勿 fork 该仓库。
[授权协议]: https://git.unlock-music.dev/um/web/src/branch/main/LICENSE [授权协议]: https://git.um-react.app/um/web/src/branch/main/LICENSE
[unlock-music/cli]: https://git.unlock-music.dev/um/cli [unlock-music/cli]: https://git.um-react.app/um/cli
[`@unlock_music_chat`]: https://t.me/unlock_music_chat [`@unlock_music_chat`]: https://t.me/unlock_music_chat
[ci]: https://git.unlock-music.dev/um/web/actions?workflow=build.yml [ci]: https://git.um-react.app/um/web/actions?workflow=build.yml
## 特性 ## 特性
@@ -49,7 +49,7 @@
- :warning: 本地使用请下载`legacy版本``modern版本`只能通过 **http(s)协议** 访问) - :warning: 本地使用请下载`legacy版本``modern版本`只能通过 **http(s)协议** 访问)
- 解压缩后即可部署或本地使用(**请勿直接运行源代码** - 解压缩后即可部署或本地使用(**请勿直接运行源代码**
[release]: https://git.unlock-music.dev/um/web/releases/latest [release]: https://git.um-react.app/um/web/releases/latest
### 自行构建 ### 自行构建

View File

@@ -7,7 +7,7 @@
"description": "Unlock encrypted music file in browser.", "description": "Unlock encrypted music file in browser.",
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://git.unlock-music.dev/um/web" "url": "https://git.um-react.app/um/web.git"
}, },
"private": true, "private": true,
"scripts": { "scripts": {

View File

@@ -1,6 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="zh-CN"> <html lang="zh-CN">
<head>
<head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta content="webkit" name="renderer" /> <meta content="webkit" name="renderer" />
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" /> <meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
@@ -22,14 +23,17 @@
height: 120px; height: 120px;
animation: spin 2s linear infinite; animation: spin 2s linear infinite;
} }
@keyframes spin { @keyframes spin {
0% { 0% {
transform: rotate(0); transform: rotate(0);
} }
100% { 100% {
transform: rotate(360deg); transform: rotate(360deg);
} }
} }
#loader-mask { #loader-mask {
text-align: center; text-align: center;
position: absolute; position: absolute;
@@ -42,28 +46,33 @@
z-index: 1009; z-index: 1009;
background-color: rgba(242, 246, 252, 0.88); background-color: rgba(242, 246, 252, 0.88);
} }
@media (prefers-color-scheme: dark) { @media (prefers-color-scheme: dark) {
#loader-mask { #loader-mask {
color: #fff; color: #fff;
background-color: rgba(0, 0, 0, 0.85); background-color: rgba(0, 0, 0, 0.85);
} }
#loader-mask a { #loader-mask a {
color: #ddd; color: #ddd;
} }
#loader-mask a:hover { #loader-mask a:hover {
color: #1db1ff; color: #1db1ff;
} }
} }
#loader-source { #loader-source {
font-size: 1.5rem; font-size: 1.5rem;
} }
#loader-tips-timeout { #loader-tips-timeout {
font-size: 1.2rem; font-size: 1.2rem;
} }
</style> </style>
</head> </head>
<body> <body>
<div id="loader-mask"> <div id="loader-mask">
<div id="loader"></div> <div id="loader"></div>
<noscript> <noscript>
@@ -80,10 +89,10 @@
<a href="https://www.microsoft.com/zh-cn/edge" target="_blank">Microsoft Edge Chromium</a> <a href="https://www.microsoft.com/zh-cn/edge" target="_blank">Microsoft Edge Chromium</a>
<a href="https://www.google.cn/chrome/" target="_blank">Google Chrome</a> <a href="https://www.google.cn/chrome/" target="_blank">Google Chrome</a>
<a href="https://www.firefox.com.cn/" target="_blank">Mozilla Firefox</a> <a href="https://www.firefox.com.cn/" target="_blank">Mozilla Firefox</a>
| <a href="https://git.unlock-music.dev/um/web/wiki/使用提示" target="_blank">使用提示</a>
</h3> </h3>
</div> </div>
<div id="app"></div> <div id="app"></div>
<script src="./loader.js"></script> <script src="./loader.js"></script>
</body> </body>
</html> </html>

View File

@@ -34,7 +34,7 @@ form >>> input {
<br /> <br />
参见 参见
<a <a
href="https://git.unlock-music.dev/um/joox-crypto/wiki/%E8%8E%B7%E5%8F%96%E8%AE%BE%E5%A4%87-UUID#%E5%89%8D%E8%A8%80" href="https://git.um-react.app/um/joox-crypto/wiki/%E8%8E%B7%E5%8F%96%E8%AE%BE%E5%A4%87-UUID#%E5%89%8D%E8%A8%80"
> >
获取设备 UUID · unlock-music/joox-crypto Wiki</a 获取设备 UUID · unlock-music/joox-crypto Wiki</a
> >

View File

@@ -103,7 +103,7 @@ export async function Decrypt(file: FileInfo, config: Record<string, any>): Prom
rt_data = await XimalayaDecrypt(file.raw, raw.name, raw.ext); rt_data = await XimalayaDecrypt(file.raw, raw.name, raw.ext);
break; break;
case 'mflach': //QQ Music New Flac case 'mflach': //QQ Music New Flac
throw '网页版无法解锁,请使用<a target="_blank" href="https://git.unlock-music.dev/um/cli">CLI版本</a>' throw '网页版无法解锁,请使用<a target="_blank" href="https://git.um-react.app/um/cli">CLI版本</a>';
default: default:
throw '不支持此文件格式'; throw '不支持此文件格式';
} }

View File

@@ -52,7 +52,8 @@
:table-data="tableData" :table-data="tableData"
@download="saveFile" @download="saveFile"
@edit="editFile" @edit="editFile"
@play="changePlaying" /> @play="changePlaying"
/>
</div> </div>
</template> </template>
@@ -115,11 +116,7 @@ export default {
console.error(errInfo, filename); console.error(errInfo, filename);
this.$notify.error({ this.$notify.error({
title: '出现问题', title: '出现问题',
message: message: errInfo + '' + filename + '。',
errInfo +
'' +
filename +
',参考<a target="_blank" href="https://git.unlock-music.dev/um/web/wiki/使用提示">使用提示</a>',
dangerouslyUseHTMLString: true, dangerouslyUseHTMLString: true,
duration: 6000, duration: 6000,
}); });