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 音乐解锁
|
||||
|
||||
[][ci]
|
||||
[][ci]
|
||||
|
||||
- 在浏览器中解锁加密的音乐文件。 Unlock encrypted music file in the browser.
|
||||
- Unlock Music 项目是以学习和技术研究的初衷创建的,修改、再分发时请遵循[授权协议]。
|
||||
@@ -11,10 +11,10 @@
|
||||
> **WARNING**
|
||||
> 在本站 fork 不会起到备份的作用,只会浪费服务器储存空间。如无必要请勿 fork 该仓库。
|
||||
|
||||
[授权协议]: https://git.unlock-music.dev/um/web/src/branch/main/LICENSE
|
||||
[unlock-music/cli]: https://git.unlock-music.dev/um/cli
|
||||
[授权协议]: https://git.um-react.app/um/web/src/branch/main/LICENSE
|
||||
[unlock-music/cli]: https://git.um-react.app/um/cli
|
||||
[`@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)协议** 访问)
|
||||
- 解压缩后即可部署或本地使用(**请勿直接运行源代码**)
|
||||
|
||||
[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.",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://git.unlock-music.dev/um/web"
|
||||
"url": "https://git.um-react.app/um/web.git"
|
||||
},
|
||||
"private": true,
|
||||
"scripts": {
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta content="webkit" name="renderer" />
|
||||
@@ -22,14 +23,17 @@
|
||||
height: 120px;
|
||||
animation: spin 2s linear infinite;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
0% {
|
||||
transform: rotate(0);
|
||||
}
|
||||
|
||||
100% {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
||||
|
||||
#loader-mask {
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
@@ -42,21 +46,26 @@
|
||||
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;
|
||||
}
|
||||
@@ -80,10 +89,10 @@
|
||||
<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.firefox.com.cn/" target="_blank">Mozilla Firefox</a>
|
||||
| <a href="https://git.unlock-music.dev/um/web/wiki/使用提示" target="_blank">使用提示</a>
|
||||
</h3>
|
||||
</div>
|
||||
<div id="app"></div>
|
||||
<script src="./loader.js"></script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -34,7 +34,7 @@ form >>> input {
|
||||
<br />
|
||||
参见:
|
||||
<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
|
||||
>。
|
||||
|
||||
@@ -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);
|
||||
break;
|
||||
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:
|
||||
throw '不支持此文件格式';
|
||||
}
|
||||
|
||||
@@ -52,7 +52,8 @@
|
||||
:table-data="tableData"
|
||||
@download="saveFile"
|
||||
@edit="editFile"
|
||||
@play="changePlaying" />
|
||||
@play="changePlaying"
|
||||
/>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
@@ -115,11 +116,7 @@ export default {
|
||||
console.error(errInfo, filename);
|
||||
this.$notify.error({
|
||||
title: '出现问题',
|
||||
message:
|
||||
errInfo +
|
||||
',' +
|
||||
filename +
|
||||
',参考<a target="_blank" href="https://git.unlock-music.dev/um/web/wiki/使用提示">使用提示</a>',
|
||||
message: errInfo + ',' + filename + '。',
|
||||
dangerouslyUseHTMLString: true,
|
||||
duration: 6000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user