添加强行构建环境变量参数

pull/1395/head
lyswhut 2023-05-06 16:35:56 +08:00
parent b0bf1bf4be
commit df58c8eb80
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ const replaceQrcDecodeLib = async(platform, arch) => {
module.exports = async(context) => {
const { electronPlatformName, arch } = context
await replaceQrcDecodeLib(electronPlatformName, arch)
if (electronPlatformName !== 'linux') return
if (electronPlatformName !== 'linux' || process.env.FORCE) return
const bindingFilePath = path.join(__dirname, '../node_modules/better-sqlite3/binding.gyp')
const bindingBakFilePath = path.join(__dirname, '../node_modules/better-sqlite3/binding.gyp.bak')
switch (arch) {