From c6f9e421c1447b9076f9b8d42bf319e0930fb6ae Mon Sep 17 00:00:00 2001 From: lyswhut Date: Fri, 3 Feb 2023 01:23:10 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E7=89=88=E6=9C=AC=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build-config/build-before-pack.js | 2 ++ package.json | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/build-config/build-before-pack.js b/build-config/build-before-pack.js index 8ad8d6b5..87f1cc61 100644 --- a/build-config/build-before-pack.js +++ b/build-config/build-before-pack.js @@ -11,6 +11,8 @@ const fileNameMap = { const replaceSqliteLib = async(arch) => { // console.log(await fs.readdir(path.join(context.appOutDir, './resources/'))) // 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...') 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') diff --git a/package.json b/package.json index 2e881037..a8c1a181 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "lx-music-desktop", - "version": "2.1.0-beta.2", + "version": "2.1.0-beta.3", "description": "一个免费的音乐查找助手", "main": "./dist/main.js", "productName": "lx-music-desktop",