mirror of
https://github.com/Eugeny/tabby
synced 2024-11-14 17:07:15 +00:00
commit
43d389a1ef
3 changed files with 14 additions and 2 deletions
12
patches/builder-util+23.0.3.patch
Normal file
12
patches/builder-util+23.0.3.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…
Reference in a new issue