更新版本号
parent
448e1cd0c3
commit
c6f9e421c1
|
@ -11,6 +11,8 @@ const fileNameMap = {
|
||||||
const replaceSqliteLib = async(arch) => {
|
const replaceSqliteLib = async(arch) => {
|
||||||
// console.log(await fs.readdir(path.join(context.appOutDir, './resources/')))
|
// console.log(await fs.readdir(path.join(context.appOutDir, './resources/')))
|
||||||
// if (context.electronPlatformName != 'linux' || context.arch != Arch.arm64) return
|
// if (context.electronPlatformName != 'linux' || context.arch != Arch.arm64) return
|
||||||
|
// https://github.com/lyswhut/lx-music-desktop/issues/1102
|
||||||
|
// https://github.com/lyswhut/lx-music-desktop/issues/1161
|
||||||
console.log('replace sqlite lib...')
|
console.log('replace sqlite lib...')
|
||||||
const filePath = path.join(__dirname, `./lib/better_sqlite3.linux.${fileNameMap[arch]}.node`)
|
const filePath = path.join(__dirname, `./lib/better_sqlite3.linux.${fileNameMap[arch]}.node`)
|
||||||
const targetPath = path.join(__dirname, '../node_modules/better-sqlite3/build/Release/better_sqlite3.node')
|
const targetPath = path.join(__dirname, '../node_modules/better-sqlite3/build/Release/better_sqlite3.node')
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "lx-music-desktop",
|
"name": "lx-music-desktop",
|
||||||
"version": "2.1.0-beta.2",
|
"version": "2.1.0-beta.3",
|
||||||
"description": "一个免费的音乐查找助手",
|
"description": "一个免费的音乐查找助手",
|
||||||
"main": "./dist/main.js",
|
"main": "./dist/main.js",
|
||||||
"productName": "lx-music-desktop",
|
"productName": "lx-music-desktop",
|
||||||
|
|
Loading…
Reference in New Issue