From a24f52c58a9f7e2170a4bb214914948ba236cf1f Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Thu, 24 Dec 2020 18:18:07 +0100 Subject: [PATCH] more build fixes --- scripts/build-macos.js | 4 +++- terminus-ssh/package.json | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/scripts/build-macos.js b/scripts/build-macos.js index 75deed5b..6a0b306e 100755 --- a/scripts/build-macos.js +++ b/scripts/build-macos.js @@ -6,10 +6,12 @@ const signHook = require('../build/mac/afterSignHook') const isTag = (process.env.GITHUB_REF || '').startsWith('refs/tags/') +process.env.ARCH = process.env.ARCH || process.arch + builder({ dir: true, mac: ['pkg', 'zip'], - arm64: (process.env.ARCH ?? process.arch) === 'arm64', + arm64: process.env.ARCH === 'arm64', config: { extraMetadata: { version: vars.version, diff --git a/terminus-ssh/package.json b/terminus-ssh/package.json index 2a725872..a15c163b 100644 --- a/terminus-ssh/package.json +++ b/terminus-ssh/package.json @@ -26,13 +26,15 @@ "ansi-colors": "^4.1.1", "cli-spinner": "^0.2.10", "run-script-os": "^1.1.3", - "socksv5": "^0.0.6", "ssh2": "^0.8.9", "ssh2-streams": "Eugeny/ssh2-streams#75f6d3425d071ac73a18fd46e2f5e738bfe897c5", "sshpk": "^1.16.1", "strip-ansi": "^6.0.0", "temp": "^0.9.1" }, + "dependencies": { + "socksv5": "^0.0.6" + }, "peerDependencies": { "@angular/animations": "^9.1.9", "@angular/common": "^9.1.11",