mirror of
https://github.com/GiriNeko/YesPlayMusic.git
synced 2025-12-17 21:58:03 +00:00
fix: bugs (#1464)
* fix: nextFMTrack 执行顺序 * fix: 当前歌曲无法播放时,播放下一首 * fix: windows下无法创建部分文件 * fix: windows下无法加载sqlite3
This commit is contained in:
parent
530581ba82
commit
24798a0bf3
4 changed files with 13 additions and 5 deletions
|
|
@ -23,6 +23,12 @@ const build = async arch => {
|
|||
'./node_modules/better-sqlite3/build/Release/better_sqlite3.node',
|
||||
`./dist/main/better_sqlite3_${arch}.node`
|
||||
)
|
||||
if (process.platform === 'win32') {
|
||||
fs.copyFileSync(
|
||||
'./node_modules/better-sqlite3/build/Release/sqlite3.dll',
|
||||
'./dist/main/sqlite3.dll'
|
||||
)
|
||||
}
|
||||
})
|
||||
.catch(e => {
|
||||
console.error(pc.red('Rebuild failed!'))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue