* fix(component/Lyric): 点击歌手名字跳转后不会关闭歌词面板

* fix: 移除build.sqlite3.js中的dll复制

当前使用的better-sqlite3版本已经支持仅单个node文件,不需要也不再构建dll文件

* fix: 对歌词使用更精确的key,避免多个歌词时间相同时的key相同错误

* update
This commit is contained in:
memorydream 2022-04-12 22:20:56 +08:00 committed by GitHub
parent 3a204dc7bb
commit e6b1b91c01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 16 additions and 10 deletions

View file

@ -100,12 +100,6 @@ const build = async arch => {
'./node_modules/better-sqlite3/build/Release/better_sqlite3.node',
`./dist/main/better_sqlite3_${arch}.node`
)
if (isWin) {
fs.copyFileSync(
'./node_modules/better-sqlite3/build/Release/sqlite3.dll',
'./dist/main/sqlite3.dll'
)
}
})
.catch(e => {
console.error(pc.red('Build failed!'))