7 Commits
1.0.1 ... 1.0.2

Author SHA1 Message Date
MengYX
a483594c4b Change build mode 2019-12-07 14:32:28 +08:00
MengYX
014fe5ae26 Fix accept in uploader 2019-12-07 12:23:18 +08:00
MengYX
73f3959094 Use Post 2019-12-01 22:52:29 +08:00
MengYX
48658701a2 Fix link error in README [SKIP CI] 2019-12-01 21:04:51 +08:00
MengYX
c4e9fb0dcc Update README and Dependencies 2019-11-30 21:10:40 +08:00
MengYX
d51d7ec773 Change Notification 2019-11-24 19:33:11 +08:00
MengYX
683f58964c Report Error Type 2019-11-23 19:22:32 +08:00
7 changed files with 33 additions and 39 deletions

View File

@@ -26,7 +26,7 @@ steps:
- name: build
image: node:lts
commands:
- npm run build
- npm run build -- --modern
- tar -czf dist.tar.gz ./dist/*
- name: release

View File

@@ -5,7 +5,7 @@
[![Build Status](https://ci.ixarea.com/api/badges/ix64/unlock-music/status.svg)](https://ci.ixarea.com/ix64/unlock-music)
## Features
# Features
- [x] Unlock in browser 在浏览器中解锁
- [x] QQMusic File QQ音乐格式 (.qmc0/.qmc3/.qmcflac/.qmcogg)
- [ ] QQMusic New Format QQ音乐新格式
@@ -19,17 +19,14 @@
- [x] Complete ID3 for ncm 补全ncm的ID3信息
- [ ] Multi-language 多语言
## Project setup
```
npm install
```
# 使用方法
## 下载已构建版本
- 已构建的版本发布在 [GitHub Release](https://github.com/ix64/unlock-music/releases/latest), 下载解压缩后即可部署或本地使用
### Compiles and hot-reloads for development
```
npm run serve
```
### Compiles and minifies for production
```
npm run build
```
## 自行构建
- 环境要求
- nodejs
- npm
1. 获取项目源代码后执行 `npm install` 安装相关依赖
2. 执行 `npm run build` 即可进行构建,构建输出为 dist 目录
- `npm run serve` 可用于开发

12
package-lock.json generated
View File

@@ -1,6 +1,6 @@
{
"name": "unlock-music",
"version": "0.2.0",
"version": "1.0.1",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
@@ -1774,7 +1774,7 @@
},
"async-validator": {
"version": "1.8.5",
"resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-1.8.5.tgz",
"resolved": "https://registry.npm.taobao.org/async-validator/download/async-validator-1.8.5.tgz?cache=0&sync_timestamp=1573494332941&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fasync-validator%2Fdownload%2Fasync-validator-1.8.5.tgz",
"integrity": "sha1-3D4I7B/Q3dtn5ghC8CwM0c7G1/A=",
"requires": {
"babel-runtime": "6.x"
@@ -3988,9 +3988,9 @@
"dev": true
},
"element-ui": {
"version": "2.12.0",
"resolved": "https://registry.npm.taobao.org/element-ui/download/element-ui-2.12.0.tgz",
"integrity": "sha1-qJO8Ea5Pfbt+nVQWBvI+ZD8THuQ=",
"version": "2.13.0",
"resolved": "https://registry.npm.taobao.org/element-ui/download/element-ui-2.13.0.tgz",
"integrity": "sha1-9rsE5bCnbqX2JGYES3dEB7pOvS0=",
"requires": {
"async-validator": "~1.8.1",
"babel-helper-vue-jsx-merge-props": "^2.0.0",
@@ -10044,7 +10044,7 @@
},
"typedarray-to-buffer": {
"version": "3.1.5",
"resolved": "https://registry.npm.taobao.org/typedarray-to-buffer/download/typedarray-to-buffer-3.1.5.tgz",
"resolved": "https://registry.npm.taobao.org/typedarray-to-buffer/download/typedarray-to-buffer-3.1.5.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Ftypedarray-to-buffer%2Fdownload%2Ftypedarray-to-buffer-3.1.5.tgz",
"integrity": "sha1-qX7nqf9CaRufeD/xvFES/j/KkIA=",
"requires": {
"is-typedarray": "^1.0.0"

View File

@@ -1,6 +1,6 @@
{
"name": "unlock-music",
"version": "0.2.0",
"version": "1.0.2",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
@@ -10,7 +10,7 @@
"browser-id3-writer": "^4.3.0",
"core-js": "^2.6.10",
"crypto-js": "^3.1.9-1",
"element-ui": "^2.11.1",
"element-ui": "^2.13.0",
"music-metadata-browser": "^1.8.1",
"register-service-worker": "^1.6.2",
"vue": "^2.6.10"

View File

@@ -5,7 +5,7 @@
<meta content="IE=edge" http-equiv="X-UA-Compatible">
<meta content="width=device-width,initial-scale=1.0" name="viewport">
<script>var _paq = window._paq || [];
_paq.push(['trackPageView'], ['enableLinkTracking'], ['setSiteId', '2'],
_paq.push(['setRequestMethod', 'POST'], ['trackPageView'], ['enableLinkTracking'], ['setSiteId', '2'],
['setTrackerUrl', 'https://stats.ixarea.com/ixarea-stats/report']);
</script>
<script async src="https://stats.ixarea.com/ixarea-stats.js"></script>

View File

@@ -6,7 +6,6 @@
:auto-upload="false"
:on-change="handleFile"
:show-file-list="false"
accept=".ncm,.qmc0,.qmc3,.qmcflac,.qmcogg,.mflac"
action=""
drag
multiple>
@@ -111,9 +110,11 @@
document.getElementById("loader-mask").remove();
this.$notify.info({
title: '离线使用',
message: '我们使用PWA技术添加到桌面或收藏夹,无网络也能使用。点击查看<a target="_blank" href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a>',
message: '我们使用PWA技术无网络也能使用<br/>' +
'最近更新支持qmcogg,mflac<br/>' +
'点击查看 <a target="_blank" href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a>',
dangerouslyUseHTMLString: true,
duration: 30000,
duration: 10000,
position: 'top-left'
});
},
@@ -149,25 +150,21 @@
this.tableData.push(data);
this.$notify.success({
title: '解锁成功',
message: '成功解锁 ' + data.title
message: '成功解锁 ' + data.title,
duration: 3000
});
let _rp_data = {
original: file.name,
title: data.title,
album: data.album,
artist: data.artist,
mime: data.mime
};
let _rp_data = [data.title, data.artist, data.album];
console.log(data);
window._paq.push(["trackEvent", "Unlock", "Success", JSON.stringify(_rp_data)]);
window._paq.push(["trackEvent", "Unlock", ext + "," + data.mime, JSON.stringify(_rp_data)]);
} else {
this.$notify.error({
title: '出现问题',
message: data.message + "" + file.name +
',参考<a target="_blank" href="https://github.com/ix64/unlock-music/wiki/使用提示">使用提示</a>',
dangerouslyUseHTMLString: true
dangerouslyUseHTMLString: true,
duration: 6000
});
window._paq.push(["trackEvent", "Unlock", "Error", file.name]);
window._paq.push(["trackEvent", "Error", data.message, file.name]);
}
})();
},

View File

@@ -1,4 +1,4 @@
module.exports = {
publicPath: '',
productionSourceMap: false
productionSourceMap: true
};