mirror of
https://git.um-react.app/um/web.git
synced 2025-11-16 13:44:23 +00:00
fix: replace url to old git repo
This commit is contained in:
10
README.md
10
README.md
@@ -1,6 +1,6 @@
|
|||||||
# Unlock Music 音乐解锁
|
# Unlock Music 音乐解锁
|
||||||
|
|
||||||
[][ci]
|
[][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
|
||||||
|
|
||||||
### 自行构建
|
### 自行构建
|
||||||
|
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
@@ -1,89 +1,98 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="zh-CN">
|
<html lang="zh-CN">
|
||||||
<head>
|
|
||||||
<meta charset="utf-8" />
|
|
||||||
<meta content="webkit" name="renderer" />
|
|
||||||
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
|
|
||||||
<meta content="width=device-width,initial-scale=1.0" name="viewport" />
|
|
||||||
<title>音乐解锁</title>
|
|
||||||
<meta content="音乐,解锁,ncm,qmc,mgg,mflac,qq音乐,网易云音乐,加密" name="keywords" />
|
|
||||||
<meta content="音乐解锁 - 在任何设备上解锁已购的加密音乐!" name="description" />
|
|
||||||
<style>
|
|
||||||
#loader {
|
|
||||||
position: absolute;
|
|
||||||
left: 50%;
|
|
||||||
top: 50%;
|
|
||||||
z-index: 1010;
|
|
||||||
margin: -75px 0 0 -75px;
|
|
||||||
border: 16px solid #f3f3f3;
|
|
||||||
border-radius: 50%;
|
|
||||||
border-top: 16px solid #1db1ff;
|
|
||||||
width: 120px;
|
|
||||||
height: 120px;
|
|
||||||
animation: spin 2s linear infinite;
|
|
||||||
}
|
|
||||||
@keyframes spin {
|
|
||||||
0% {
|
|
||||||
transform: rotate(0);
|
|
||||||
}
|
|
||||||
100% {
|
|
||||||
transform: rotate(360deg);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#loader-mask {
|
|
||||||
text-align: center;
|
|
||||||
position: absolute;
|
|
||||||
width: 100%;
|
|
||||||
height: 100%;
|
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
z-index: 1009;
|
|
||||||
background-color: rgba(242, 246, 252, 0.88);
|
|
||||||
}
|
|
||||||
@media (prefers-color-scheme: dark) {
|
|
||||||
#loader-mask {
|
|
||||||
color: #fff;
|
|
||||||
background-color: rgba(0, 0, 0, 0.85);
|
|
||||||
}
|
|
||||||
#loader-mask a {
|
|
||||||
color: #ddd;
|
|
||||||
}
|
|
||||||
#loader-mask a:hover {
|
|
||||||
color: #1db1ff;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
#loader-source {
|
|
||||||
font-size: 1.5rem;
|
|
||||||
}
|
|
||||||
#loader-tips-timeout {
|
|
||||||
font-size: 1.2rem;
|
|
||||||
}
|
|
||||||
</style>
|
|
||||||
</head>
|
|
||||||
|
|
||||||
<body>
|
<head>
|
||||||
<div id="loader-mask">
|
<meta charset="utf-8" />
|
||||||
<div id="loader"></div>
|
<meta content="webkit" name="renderer" />
|
||||||
<noscript>
|
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible" />
|
||||||
<h3 id="loader-js">请启用JavaScript</h3>
|
<meta content="width=device-width,initial-scale=1.0" name="viewport" />
|
||||||
</noscript>
|
<title>音乐解锁</title>
|
||||||
<h3 id="loader-source">请勿直接运行源代码!</h3>
|
<meta content="音乐,解锁,ncm,qmc,mgg,mflac,qq音乐,网易云音乐,加密" name="keywords" />
|
||||||
<div id="loader-tips-outdated" hidden>
|
<meta content="音乐解锁 - 在任何设备上解锁已购的加密音乐!" name="description" />
|
||||||
<h2>您可能在使用不受支持的<span style="color: #f00">过时</span>浏览器,这可能导致此应用无法正常工作。</h2>
|
<style>
|
||||||
<h3>如果您使用双核浏览器,您可以尝试切换到 <span style="color: #f00">“极速模式”</span> 解决此问题。</h3>
|
#loader {
|
||||||
<h3>或者,您可以尝试更换下方的几个浏览器之一。</h3>
|
position: absolute;
|
||||||
</div>
|
left: 50%;
|
||||||
<h3 id="loader-tips-timeout" hidden>
|
top: 50%;
|
||||||
音乐解锁采用了一些新特性!建议使用
|
z-index: 1010;
|
||||||
<a href="https://www.microsoft.com/zh-cn/edge" target="_blank">Microsoft Edge Chromium</a>
|
margin: -75px 0 0 -75px;
|
||||||
<a href="https://www.google.cn/chrome/" target="_blank">Google Chrome</a>
|
border: 16px solid #f3f3f3;
|
||||||
<a href="https://www.firefox.com.cn/" target="_blank">Mozilla Firefox</a>
|
border-radius: 50%;
|
||||||
| <a href="https://git.unlock-music.dev/um/web/wiki/使用提示" target="_blank">使用提示</a>
|
border-top: 16px solid #1db1ff;
|
||||||
</h3>
|
width: 120px;
|
||||||
|
height: 120px;
|
||||||
|
animation: spin 2s linear infinite;
|
||||||
|
}
|
||||||
|
|
||||||
|
@keyframes spin {
|
||||||
|
0% {
|
||||||
|
transform: rotate(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
100% {
|
||||||
|
transform: rotate(360deg);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#loader-mask {
|
||||||
|
text-align: center;
|
||||||
|
position: absolute;
|
||||||
|
width: 100%;
|
||||||
|
height: 100%;
|
||||||
|
bottom: 0;
|
||||||
|
left: 0;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1009;
|
||||||
|
background-color: rgba(242, 246, 252, 0.88);
|
||||||
|
}
|
||||||
|
|
||||||
|
@media (prefers-color-scheme: dark) {
|
||||||
|
#loader-mask {
|
||||||
|
color: #fff;
|
||||||
|
background-color: rgba(0, 0, 0, 0.85);
|
||||||
|
}
|
||||||
|
|
||||||
|
#loader-mask a {
|
||||||
|
color: #ddd;
|
||||||
|
}
|
||||||
|
|
||||||
|
#loader-mask a:hover {
|
||||||
|
color: #1db1ff;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
#loader-source {
|
||||||
|
font-size: 1.5rem;
|
||||||
|
}
|
||||||
|
|
||||||
|
#loader-tips-timeout {
|
||||||
|
font-size: 1.2rem;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div id="loader-mask">
|
||||||
|
<div id="loader"></div>
|
||||||
|
<noscript>
|
||||||
|
<h3 id="loader-js">请启用JavaScript</h3>
|
||||||
|
</noscript>
|
||||||
|
<h3 id="loader-source">请勿直接运行源代码!</h3>
|
||||||
|
<div id="loader-tips-outdated" hidden>
|
||||||
|
<h2>您可能在使用不受支持的<span style="color: #f00">过时</span>浏览器,这可能导致此应用无法正常工作。</h2>
|
||||||
|
<h3>如果您使用双核浏览器,您可以尝试切换到 <span style="color: #f00">“极速模式”</span> 解决此问题。</h3>
|
||||||
|
<h3>或者,您可以尝试更换下方的几个浏览器之一。</h3>
|
||||||
</div>
|
</div>
|
||||||
<div id="app"></div>
|
<h3 id="loader-tips-timeout" hidden>
|
||||||
<script src="./loader.js"></script>
|
音乐解锁采用了一些新特性!建议使用
|
||||||
</body>
|
<a href="https://www.microsoft.com/zh-cn/edge" target="_blank">Microsoft Edge Chromium</a>
|
||||||
</html>
|
<a href="https://www.google.cn/chrome/" target="_blank">Google Chrome</a>
|
||||||
|
<a href="https://www.firefox.com.cn/" target="_blank">Mozilla Firefox</a>
|
||||||
|
</h3>
|
||||||
|
</div>
|
||||||
|
<div id="app"></div>
|
||||||
|
<script src="./loader.js"></script>
|
||||||
|
</body>
|
||||||
|
|
||||||
|
</html>
|
||||||
@@ -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
|
||||||
>。
|
>。
|
||||||
|
|||||||
@@ -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 '不支持此文件格式';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user