Skip to content

Commit

Permalink
更新依赖&版本号(2.9.0-beta.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
lyswhut committed Jul 16, 2024
1 parent b8e9937 commit 3a4acd2
Show file tree
Hide file tree
Showing 18 changed files with 329 additions and 206 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
507 changes: 315 additions & 192 deletions package-lock.json

Large diffs are not rendered by default.

24 changes: 12 additions & 12 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lx-music-desktop",
"version": "2.9.0-beta.2",
"version": "2.9.0-beta.3",
"description": "一个免费的音乐查找助手",
"main": "./dist/main.js",
"productName": "lx-music-desktop",
Expand Down Expand Up @@ -108,23 +108,23 @@
},
"homepage": "https://github.com/lyswhut/lx-music-desktop#readme",
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/eslint-parser": "^7.24.7",
"@babel/core": "^7.24.9",
"@babel/eslint-parser": "^7.24.8",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
"@babel/plugin-transform-modules-umd": "^7.24.7",
"@babel/plugin-transform-runtime": "^7.24.7",
"@babel/preset-env": "^7.24.7",
"@babel/preset-env": "^7.24.8",
"@babel/preset-typescript": "^7.24.7",
"@tsconfig/recommended": "^1.0.7",
"@types/better-sqlite3": "^7.6.11",
"@types/needle": "^3.3.0",
"@types/tunnel": "^0.0.7",
"@types/ws": "8.5.4",
"@volar/vue-language-plugin-pug": "^1.6.5",
"@vue/language-plugin-pug": "^2.0.24",
"@vue/language-plugin-pug": "^2.0.26",
"babel-loader": "^9.1.3",
"browserslist": "^4.23.1",
"browserslist": "^4.23.2",
"chalk": "^4.1.2",
"changelog-parser": "^3.0.1",
"copy-webpack-plugin": "^12.0.2",
Expand All @@ -133,11 +133,11 @@
"css-loader": "^7.1.2",
"css-minimizer-webpack-plugin": "^7.0.0",
"del": "^6.1.1",
"electron": "^29.4.3",
"electron": "^30.2.0",
"electron-builder": "^24.13.3",
"electron-debug": "^3.2.0",
"electron-devtools-installer": "github:lyswhut/electron-devtools-installer#64596d615c1fc891eefd8aef1dfcb2c87aaadf03",
"electron-to-chromium": "^1.4.816",
"electron-to-chromium": "^1.4.828",
"electron-updater": "^6.2.1",
"eslint": "^8.57.0",
"eslint-config-standard": "^17.1.0",
Expand All @@ -157,20 +157,20 @@
"postcss-pxtorem": "^6.1.0",
"pug": "^3.0.3",
"pug-plain-loader": "^1.1.0",
"rimraf": "^5.0.7",
"rimraf": "^6.0.1",
"spinnies": "github:lyswhut/spinnies#233305c58694aa3b053e3ab9af9049993f918b9d",
"svg-sprite-loader": "^6.0.11",
"svg-transform-loader": "^2.0.13",
"svgo-loader": "^4.0.0",
"terser": "^5.31.1",
"terser": "^5.31.2",
"terser-webpack-plugin": "^5.3.10",
"tree-kill": "^1.2.2",
"ts-loader": "^9.5.1",
"typescript": "^5.5.3",
"vue-eslint-parser": "^9.4.3",
"vue-loader": "^17.4.2",
"vue-template-compiler": "^2.7.16",
"webpack": "^5.92.1",
"webpack": "^5.93.0",
"webpack-cli": "^5.1.4",
"webpack-dev-server": "^5.0.4",
"webpack-hot-middleware": "github:lyswhut/webpack-hot-middleware#329c4375134b89d39da23a56a94db651247c74a1",
Expand All @@ -189,7 +189,7 @@
"jschardet": "^3.1.3",
"long": "^5.2.3",
"message2call": "^0.1.3",
"music-metadata": "^8.3.0",
"music-metadata": "^9.0.1",
"needle": "github:lyswhut/needle#93299ac841b7e9a9f82ca7279b88aaaeda404060",
"node-id3": "^0.2.6",
"sortablejs": "^1.15.2",
Expand Down
2 changes: 1 addition & 1 deletion publish/changeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@

### 其他

- 更新 electron 到 v29.4.2
- 更新 electron 到 v30.2.0
2 changes: 1 addition & 1 deletion src/renderer/worker/main/music.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getLocalMusicFileLyric, getLocalMusicFilePic } from '@renderer/utils/mu
export const getMusicFilePic = async(filePath: string) => {
const picture = await getLocalMusicFilePic(filePath)
if (!picture) return ''
return `data:${picture.format};base64,${picture.data.toString('base64')}`
return `data:${picture.format};base64,${Buffer.from(picture.data).toString('base64')}`
}

export const getMusicFileLyric = async(filePath: string): Promise<LX.Music.LyricInfo | null> => {
Expand Down

0 comments on commit 3a4acd2

Please sign in to comment.