From b75775283f84f5652d072a7d5a27d8c126bd0fd4 Mon Sep 17 00:00:00 2001 From: Eugene Pankov Date: Sun, 13 Dec 2020 12:21:28 +0100 Subject: [PATCH] use run-script-os for xcopy --- terminus-ssh/package.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/terminus-ssh/package.json b/terminus-ssh/package.json index 673d5328..5fbecdeb 100644 --- a/terminus-ssh/package.json +++ b/terminus-ssh/package.json @@ -10,7 +10,9 @@ "scripts": { "build": "webpack --progress --color", "watch": "webpack --progress --color --watch", - "postinstall": "xcopy /i /y node_modules\\ssh2\\util\\pagent.exe util\\" + "postinstall": "run-script-os", + "postinstall:darwin:linux": "exit", + "postinstall:win32": "xcopy /i /y node_modules\\ssh2\\util\\pagent.exe util\\" }, "files": [ "dist",