mirror of
https://github.com/Eugeny/tabby.git
synced 2025-04-12 16:10:26 +08:00
commit
f653fe9c85
12
patches/builder-util+23.0.8.patch
Normal file
12
patches/builder-util+23.0.8.patch
Normal file
@ -0,0 +1,12 @@
|
||||
diff --git a/node_modules/builder-util/out/arch.js b/node_modules/builder-util/out/arch.js
|
||||
index eabcf47..e1ac595 100644
|
||||
--- a/node_modules/builder-util/out/arch.js
|
||||
+++ b/node_modules/builder-util/out/arch.js
|
||||
@@ -40,6 +40,7 @@ function archFromString(name) {
|
||||
return Arch.ia32;
|
||||
case "arm64":
|
||||
return Arch.arm64;
|
||||
+ case "arm":
|
||||
case "armv7l":
|
||||
return Arch.armv7l;
|
||||
case "universal":
|
@ -4,7 +4,7 @@ const vars = require('./vars')
|
||||
|
||||
const isTag = (process.env.GITHUB_REF || '').startsWith('refs/tags/')
|
||||
|
||||
process.env.ARCH = (process.env.ARCH || process.arch) === 'arm' ? 'armv7l' : process.arch
|
||||
process.env.ARCH = ((process.env.ARCH || process.arch) === 'arm') ? 'armv7l' : process.env.ARCH || process.arch
|
||||
|
||||
builder({
|
||||
dir: true,
|
||||
|
@ -4,7 +4,7 @@ const path = require('path')
|
||||
const vars = require('./vars')
|
||||
|
||||
if (process.platform === 'win32' || process.platform === 'linux') {
|
||||
process.env.ARCH = (process.env.ARCH || process.arch) === 'arm' ? 'armv7l' : process.arch
|
||||
process.env.ARCH = ((process.env.ARCH || process.arch) === 'arm') ? 'armv7l' : process.env.ARCH || process.arch
|
||||
} else {
|
||||
process.env.ARCH ??= process.arch
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user