Repository: cordova-cli Updated Branches: refs/heads/master 364bf870f -> 190ab610a
CB-10482 Remove references to windows8 from cordova-lib/cli Project: http://git-wip-us.apache.org/repos/asf/cordova-cli/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-cli/commit/190ab610 Tree: http://git-wip-us.apache.org/repos/asf/cordova-cli/tree/190ab610 Diff: http://git-wip-us.apache.org/repos/asf/cordova-cli/diff/190ab610 Branch: refs/heads/master Commit: 190ab610adf380fb47233e96570393a16d9c5339 Parents: 364bf87 Author: daserge <[email protected]> Authored: Thu Feb 4 20:56:03 2016 +0300 Committer: daserge <[email protected]> Committed: Thu Feb 4 20:56:03 2016 +0300 ---------------------------------------------------------------------- README.md | 20 +++----------------- src/cli.js | 30 ------------------------------ 2 files changed, 3 insertions(+), 47 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/190ab610/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index a77453e..3577219 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ Check out the [Getting Started guides](http://cordova.apache.org/docs/en/edge/) - iOS - Ubuntu - Windows Phone 8 -- Windows 8 +- Windows (Windows 8.1, Windows Phone 8.1, Windows 10) # Requirements @@ -53,9 +53,9 @@ Check out the [Getting Started guides](http://cordova.apache.org/docs/en/edge/) - **iOS**: [iOS SDK](http://developer.apple.com) with the latest `Xcode` and `Xcode Command Line Tools` - **Windows Phone**: [Windows Phone SDK](http://dev.windowsphone.com/en-us/downloadsdk) - **NOTE** This tool will not work unless you have `msbuild` on your __system path__ otherwise Windows Phone support will fail (`msbuild.exe` is generally located in `C:\Windows\Microsoft.NET\Framework\v4.0.30319`). -`cordova-cli` has been tested on **Mac OS X**, **Linux**, **Windows 7**, and **Windows 8**. +`cordova-cli` has been tested on **Mac OS X**, **Linux**, **Windows 7**, and **Windows 8.1**. -Please note that some platforms have OS restrictions. For example, you cannot build for Windows 8 or Windows Phone 8 on Mac OS X, nor can you build for iOS on Windows. +Please note that some platforms have OS restrictions. For example, you cannot build for Windows or Windows Phone 8 on Mac OS X, nor can you build for iOS on Windows. # Install @@ -297,20 +297,6 @@ run the command `android list target`. If you see: at the beginning of the command output, it means you will need to fix your Windows Path variable to include xcopy. This location is typically under C:\Windows\System32. -## Windows 8 - -Windows 8 support does not include the ability to launch/run/emulate, so you will need to open **Visual Studio** to see your app live. You are still able to use the following commands with windows8: - -- `platform add windows8` -- `platform remove windows8` -- `prepare windows8` -- `compile windows8` -- `build windows8` - -To run your app, you will need to open the `.sln` in the `platforms/windows8` folder using **Visual Studio 2012**. - -**Visual Studio** will tell you to reload the project if you run any of the above commands while the project is loaded. - ## Amazon Fire OS **DEPRECATION NOTICE** Cordova Amazon Fire OS platform support is deprecated for Amazon Fire OS 5.0 and higher (2015 devices and later); for these devices, please use the Android platform target only. http://git-wip-us.apache.org/repos/asf/cordova-cli/blob/190ab610/src/cli.js ---------------------------------------------------------------------- diff --git a/src/cli.js b/src/cli.js index abd7828..f561ad5 100644 --- a/src/cli.js +++ b/src/cli.js @@ -208,21 +208,6 @@ function cli(inputArgs) { throw new CordovaError(msg); } - // CB-6976 Windows Universal Apps. Allow mixing windows and windows8 aliases - opts.platforms = opts.platforms.map(function(platform) { - // allow using old windows8 alias for new unified windows platform - if (platform == 'windows8' && fs.existsSync('platforms/windows')) { - return 'windows'; - } - // allow using new windows alias for old windows8 platform - if (platform == 'windows' && - !fs.existsSync('platforms/windows') && - fs.existsSync('platforms/windows8')) { - return 'windows8'; - } - return platform; - }); - // Pass nopt-parsed args to PlatformApi through opts.options opts.options = args; opts.options.argv = unparsedArgs; @@ -242,21 +227,6 @@ function cli(inputArgs) { throw new CordovaError(msg); } - // CB-6976 Windows Universal Apps. Allow mixing windows and windows8 aliases - opts.platforms = opts.platforms.map(function(platform) { - // allow using old windows8 alias for new unified windows platform - if (platform == 'windows8' && fs.existsSync('platforms/windows')) { - return 'windows'; - } - // allow using new windows alias for old windows8 platform - if (platform == 'windows' && - !fs.existsSync('platforms/windows') && - fs.existsSync('platforms/windows8')) { - return 'windows8'; - } - return platform; - }); - cordova.raw[cmd].call(null, opts.platforms) .then(function (platformChecks) { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
