use run-script-os for xcopy

This commit is contained in:
Eugene Pankov 2020-12-13 12:21:28 +01:00
parent 66558290a0
commit b75775283f
No known key found for this signature in database
GPG Key ID: 5896FCBBDD1CF4F4

View File

@ -10,7 +10,9 @@
"scripts": { "scripts": {
"build": "webpack --progress --color", "build": "webpack --progress --color",
"watch": "webpack --progress --color --watch", "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": [ "files": [
"dist", "dist",