diff --git a/extension-manifest.json b/extension-manifest.json
index eaa9512..b31cb73 100644
--- a/extension-manifest.json
+++ b/extension-manifest.json
@@ -6,11 +6,13 @@
"128": "./img/icons/msapplication-icon-144x144.png"
},
"description": "在任何设备上解锁已购的加密音乐!",
- "permissions": ["storage"],
+ "permissions": [
+ "storage"
+ ],
"offline_enabled": true,
"options_page": "./index.html",
- "homepage_url": "https://github.com/ix64/unlock-music",
+ "homepage_url": "https://git.unlock-music.dev/um/web",
"browser_action": {
"default_popup": "./popup.html"
}
-}
+}
\ No newline at end of file
diff --git a/package.json b/package.json
index 1d4549b..271a267 100644
--- a/package.json
+++ b/package.json
@@ -7,7 +7,7 @@
"description": "Unlock encrypted music file in browser.",
"repository": {
"type": "git",
- "url": "https://github.com/ix64/unlock-music"
+ "url": "https://git.unlock-music.dev/um/web"
},
"private": true,
"scripts": {
@@ -57,4 +57,4 @@
"vue-cli-plugin-element": "^1.0.1",
"vue-template-compiler": "^2.6.14"
}
-}
+}
\ No newline at end of file
diff --git a/public/index.html b/public/index.html
index 0b295d7..16ced03 100644
--- a/public/index.html
+++ b/public/index.html
@@ -1,39 +1,89 @@
-
-
-
-
-
+
+
+
+
+
音乐解锁
-
-
-
-
-
-
-
+
+
+
+
-
-
-
+
+
+
diff --git a/src/App.vue b/src/App.vue
index 176b755..c52a138 100644
--- a/src/App.vue
+++ b/src/App.vue
@@ -5,19 +5,19 @@
@@ -77,7 +77,7 @@ export default {
最近更新
${config.updateInfo}
- 使用提示
+ 使用提示
`,
dangerouslyUseHTMLString: true,
duration: 10000,
diff --git a/src/component/ConfigDialog.vue b/src/component/ConfigDialog.vue
index 8523f02..b0e4155 100644
--- a/src/component/ConfigDialog.vue
+++ b/src/component/ConfigDialog.vue
@@ -43,7 +43,9 @@ form >>> input {
下载该加密文件的 JOOX 应用所记录的设备唯一识别码。
参见:
-
+
获取设备 UUID · unlock-music/joox-crypto Wiki。
diff --git a/src/decrypt/__test__/joox.test.ts b/src/decrypt/__test__/joox.test.ts
index dd0af1d..3960549 100644
--- a/src/decrypt/__test__/joox.test.ts
+++ b/src/decrypt/__test__/joox.test.ts
@@ -22,7 +22,7 @@ describe('decrypt/joox', () => {
album: 'unused',
blob: blob,
artist: 'unused',
- imgUrl: 'https://github.com/unlock-music',
+ imgUrl: 'https://example.unlock-music.dev/',
};
});
diff --git a/src/view/Home.vue b/src/view/Home.vue
index 69a6f5d..579e574 100644
--- a/src/view/Home.vue
+++ b/src/view/Home.vue
@@ -18,7 +18,9 @@
:album="editing_data.album"
:albumartist="editing_data.albumartist"
:genre="editing_data.genre"
- @cancel="showEditDialog = false" @ok="handleEdit">
+ @cancel="showEditDialog = false"
+ @ok="handleEdit"
+ >
@@ -37,14 +39,20 @@
开启后,解锁结果将不会存留于浏览器中,防止内存不足。
- 立即保存
+ 立即保存
-
+
@@ -70,7 +78,7 @@ export default {
return {
showConfigDialog: false,
showEditDialog: false,
- editing_data: { picture: '', title: '', artist: '', album: '', albumartist: '', genre: '', },
+ editing_data: { picture: '', title: '', artist: '', album: '', albumartist: '', genre: '' },
tableData: [],
playing_url: '',
playing_auto: false,
@@ -111,7 +119,7 @@ export default {
errInfo +
',' +
filename +
- ',参考使用提示',
+ ',参考使用提示',
dangerouslyUseHTMLString: true,
duration: 6000,
});
@@ -164,12 +172,13 @@ export default {
console.warn('获取图像失败', this.editing_data.picture);
}
}
- const newMeta = { picture: imageInfo?.buffer,
+ const newMeta = {
+ picture: imageInfo?.buffer,
title: data.title,
artists: data.artist.split(split_regex),
album: data.album,
albumartist: data.albumartist,
- genre: data.genre.split(split_regex)
+ genre: data.genre.split(split_regex),
};
const buffer = Buffer.from(await this.editing_data.blob.arrayBuffer());
const mime = AudioMimeType[this.editing_data.ext] || AudioMimeType.mp3;