Repository: cordova-windows Updated Branches: refs/heads/master 94dec04aa -> 1b376d74f
Adds missing ExecutionPolicy option for powershell Project: http://git-wip-us.apache.org/repos/asf/cordova-windows/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-windows/commit/1b376d74 Tree: http://git-wip-us.apache.org/repos/asf/cordova-windows/tree/1b376d74 Diff: http://git-wip-us.apache.org/repos/asf/cordova-windows/diff/1b376d74 Branch: refs/heads/master Commit: 1b376d74f0cd7fcac2995423efc1c70327c3beeb Parents: 94dec04 Author: Vladimir Kotikov <[email protected]> Authored: Fri Aug 15 16:16:24 2014 +0400 Committer: Vladimir Kotikov <[email protected]> Committed: Fri Aug 15 16:16:24 2014 +0400 ---------------------------------------------------------------------- windows/template/cordova/lib/build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-windows/blob/1b376d74/windows/template/cordova/lib/build.js ---------------------------------------------------------------------- diff --git a/windows/template/cordova/lib/build.js b/windows/template/cordova/lib/build.js index d1dc10b..6dcf8f1 100644 --- a/windows/template/cordova/lib/build.js +++ b/windows/template/cordova/lib/build.js @@ -131,7 +131,7 @@ function buildTargets() { function applyPlatformConfig() { // run powershell ApplyPlatformConfig.ps1 return utils.getApplyPlatformConfigScript().then(function(ApplyPlatformConfigScript) { - return spawn('Powershell', ['-File', ApplyPlatformConfigScript, ROOT]); + return spawn('Powershell', ['-ExecutionPolicy', 'RemoteSigned', '-File', ApplyPlatformConfigScript, ROOT]); }); }
