From b6be58bd9f57d1e55e6bc10cd6fd6161115a8b3c Mon Sep 17 00:00:00 2001 From: rosen-vladimirov Date: Thu, 8 Dec 2016 17:43:00 +0200 Subject: [PATCH] Fix scripts Fix postinstall and preuninstall scripts which incorrectly try to start `bin/nativescript.js`, which does not exist anymore. --- postinstall.js | 2 +- preuninstall.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/postinstall.js b/postinstall.js index 137e20c2ec..a5bb15e6a1 100644 --- a/postinstall.js +++ b/postinstall.js @@ -1,7 +1,7 @@ "use strict"; var child_process = require("child_process"); -var commandArgs = ["bin/nativescript.js", "post-install-cli"]; +var commandArgs = ["bin/tns", "post-install-cli"]; var path = require("path"); var nodeArgs = require(path.join(__dirname, "lib", "common", "scripts", "node-args")).getNodeArgs(); diff --git a/preuninstall.js b/preuninstall.js index 9085fabd22..09001e5095 100644 --- a/preuninstall.js +++ b/preuninstall.js @@ -1,7 +1,7 @@ "use strict"; var child_process = require("child_process"); -var commandArgs = ["bin/nativescript.js", "dev-preuninstall"]; +var commandArgs = ["bin/tns", "dev-preuninstall"]; var path = require("path"); var nodeArgs = require(path.join(__dirname, "lib", "common", "scripts", "node-args")).getNodeArgs();