From 12310dda3b987292ee1bbbbcfdd129af6b6c5cfc Mon Sep 17 00:00:00 2001 From: Feon Sua Date: Tue, 15 Sep 2015 01:57:07 -0700 Subject: [PATCH] [CLI-804] Windows: Cannot build Alloy project on Windows 10 --- hooks/alloy.js | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/alloy.js b/hooks/alloy.js index 86a0301ea..f50a5daae 100644 --- a/hooks/alloy.js +++ b/hooks/alloy.js @@ -141,7 +141,7 @@ exports.init = function (logger, config, cli, appc) { // execute alloy in os-specific manner var child; - if (process.platform === 'win32' && paths.alloy.indexOf('.bin') !== -1) { + if (process.platform === 'win32' && paths.alloy === 'alloy.cmd') { cmd.shift(); logger.info(__('Executing Alloy compile: %s', ['cmd','/s','/c'].concat(cmd).join(' ').cyan)); diff --git a/package.json b/package.json index 5218f7433..0b368042d 100644 --- a/package.json +++ b/package.json @@ -14,7 +14,7 @@ "mobileweb", "appc-client" ], - "version": "1.7.7", + "version": "1.7.8", "author": "Appcelerator, Inc. ", "maintainers": [ {