From 73bb9438b1dee7c3e3d202b9f68f31be54d3a243 Mon Sep 17 00:00:00 2001 From: Emmm Monster <58943012+emmmx@users.noreply.github.com> Date: Tue, 25 May 2021 03:20:42 +0800 Subject: [PATCH] chore: Bump Version --- package-lock.json | 8 ++++---- package.json | 6 +++--- src/view/Home.vue | 15 +++++++++------ 3 files changed, 16 insertions(+), 13 deletions(-) diff --git a/package-lock.json b/package-lock.json index 2b864ce..90f786d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "unlock-music", - "version": "1.8.1", + "version": "v1.9.0-beta", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -7400,9 +7400,9 @@ "dev": true }, "iconv-lite": { - "version": "0.6.2", - "resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", - "integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", + "version": "0.6.3", + "resolved": "http://mirrors.cloud.tencent.com/npm/iconv-lite/-/iconv-lite-0.6.3.tgz", + "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==", "requires": { "safer-buffer": ">= 2.1.2 < 3.0.0" } diff --git a/package.json b/package.json index 8666813..432824d 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "unlock-music", - "version": "1.8.1", - "updateInfo": "添加构建为Docker镜像", + "version": "v1.9.0-beta", + "updateInfo": "新增写入本地文件系统; 优化.kwm解锁; 支持.acc嗅探; 使用Typescript重构", "license": "MIT", "description": "Unlock encrypted music file in browser.", "repository": { @@ -21,7 +21,7 @@ "core-js": "^3.12.1", "crypto-js": "^4.0.0", "element-ui": "^2.15.1", - "iconv-lite": "^0.6.2", + "iconv-lite": "^0.6.3", "jimp": "^0.16.1", "metaflac-js": "^1.0.5", "music-metadata-browser": "^2.2.6", diff --git a/src/view/Home.vue b/src/view/Home.vue index 9e44733..6f4e2b8 100644 --- a/src/view/Home.vue +++ b/src/view/Home.vue @@ -16,10 +16,13 @@
- 当您使用此工具进行大量文件解锁的时候,建议开启此选项。
- 开启后,解锁结果将不会存留于浏览器中,防止内存不足。 + 工作模式: {{ dir ? "写入本地文件系统" : "调用浏览器下载" }} + + 当您使用此工具进行大量文件解锁的时候,建议开启此选项。
+ 开启后,解锁结果将不会存留于浏览器中,防止内存不足。 +
- 立即保存 + 立即保存
@@ -48,19 +51,19 @@ export default { playing_url: "", playing_auto: false, filename_policy: FilenamePolicy.ArtistAndTitle, - instant_download: false, + instant_save: false, FilenamePolicies, dir: null } }, watch: { - instant_download(val) { + instant_save(val) { if (val) this.showDirectlySave() } }, methods: { async showSuccess(data) { - if (this.instant_download) { + if (this.instant_save) { await this.saveFile(data) RemoveBlobMusic(data); } else {