1
0
forked from um/web

chore: Bump Version

This commit is contained in:
Emmm Monster 2021-05-25 03:20:42 +08:00
parent 21d5ae305c
commit 73bb9438b1
No known key found for this signature in database
GPG Key ID: C98279C83FB50DB9
3 changed files with 16 additions and 13 deletions

8
package-lock.json generated
View File

@ -1,6 +1,6 @@
{ {
"name": "unlock-music", "name": "unlock-music",
"version": "1.8.1", "version": "v1.9.0-beta",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -7400,9 +7400,9 @@
"dev": true "dev": true
}, },
"iconv-lite": { "iconv-lite": {
"version": "0.6.2", "version": "0.6.3",
"resolved": "https://registry.npmjs.org/iconv-lite/-/iconv-lite-0.6.2.tgz", "resolved": "http://mirrors.cloud.tencent.com/npm/iconv-lite/-/iconv-lite-0.6.3.tgz",
"integrity": "sha512-2y91h5OpQlolefMPmUlivelittSWy0rP+oYVpn6A7GwVHNE8AWzoYOBNmlwks3LobaJxgHCYZAnyNo2GgpNRNQ==", "integrity": "sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==",
"requires": { "requires": {
"safer-buffer": ">= 2.1.2 < 3.0.0" "safer-buffer": ">= 2.1.2 < 3.0.0"
} }

View File

@ -1,7 +1,7 @@
{ {
"name": "unlock-music", "name": "unlock-music",
"version": "1.8.1", "version": "v1.9.0-beta",
"updateInfo": "添加构建为Docker镜像", "updateInfo": "新增写入本地文件系统; 优化.kwm解锁; 支持.acc嗅探; 使用Typescript重构",
"license": "MIT", "license": "MIT",
"description": "Unlock encrypted music file in browser.", "description": "Unlock encrypted music file in browser.",
"repository": { "repository": {
@ -21,7 +21,7 @@
"core-js": "^3.12.1", "core-js": "^3.12.1",
"crypto-js": "^4.0.0", "crypto-js": "^4.0.0",
"element-ui": "^2.15.1", "element-ui": "^2.15.1",
"iconv-lite": "^0.6.2", "iconv-lite": "^0.6.3",
"jimp": "^0.16.1", "jimp": "^0.16.1",
"metaflac-js": "^1.0.5", "metaflac-js": "^1.0.5",
"music-metadata-browser": "^2.2.6", "music-metadata-browser": "^2.2.6",

View File

@ -16,10 +16,13 @@
<el-tooltip class="item" effect="dark" placement="top-start"> <el-tooltip class="item" effect="dark" placement="top-start">
<div slot="content"> <div slot="content">
当您使用此工具进行大量文件解锁的时候建议开启此选项<br/> <span v-if="instant_save">工作模式: {{ dir ? "写入本地文件系统" : "调用浏览器下载" }}</span>
开启后解锁结果将不会存留于浏览器中防止内存不足 <span v-else>
当您使用此工具进行大量文件解锁的时候建议开启此选项<br/>
开启后解锁结果将不会存留于浏览器中防止内存不足
</span>
</div> </div>
<el-checkbox v-model="instant_download" border class="ml-2">立即保存</el-checkbox> <el-checkbox v-model="instant_save" border class="ml-2">立即保存</el-checkbox>
</el-tooltip> </el-tooltip>
</el-row> </el-row>
</div> </div>
@ -48,19 +51,19 @@ export default {
playing_url: "", playing_url: "",
playing_auto: false, playing_auto: false,
filename_policy: FilenamePolicy.ArtistAndTitle, filename_policy: FilenamePolicy.ArtistAndTitle,
instant_download: false, instant_save: false,
FilenamePolicies, FilenamePolicies,
dir: null dir: null
} }
}, },
watch: { watch: {
instant_download(val) { instant_save(val) {
if (val) this.showDirectlySave() if (val) this.showDirectlySave()
} }
}, },
methods: { methods: {
async showSuccess(data) { async showSuccess(data) {
if (this.instant_download) { if (this.instant_save) {
await this.saveFile(data) await this.saveFile(data)
RemoveBlobMusic(data); RemoveBlobMusic(data);
} else { } else {