[ 
https://issues.apache.org/jira/browse/CB-6976?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14039050#comment-14039050
 ] 

ASF GitHub Bot commented on CB-6976:
------------------------------------

Github user purplecabbage commented on a diff in the pull request:

    https://github.com/apache/cordova-cli/pull/181#discussion_r14030680
  
    --- Diff: src/cli.js ---
    @@ -165,6 +165,20 @@ 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' && 
require('fs').existsSync('platforms/windows')) {
    +                return 'windows';
    +            } 
    +            // allow using new windows alias for old windows8 platform
    +            if (platform == 'windows' && 
!require('fs').existsSync('platforms/windows') 
    +                && require('fs').existsSync('platforms/windows8')) {
    +                return 'windows8';
    --- End diff --
    
    Discussion is here.
    http://markmail.org/message/v5pul7xqzp5ndnto


> Add support for Windows Universal apps (Windows 8.1 and WP 8.1)
> ---------------------------------------------------------------
>
>                 Key: CB-6976
>                 URL: https://issues.apache.org/jira/browse/CB-6976
>             Project: Apache Cordova
>          Issue Type: New Feature
>            Reporter: Sergey Grebnov
>            Assignee: Sergey Grebnov
>
> Creating this as a new JIRA feature since this is different from previously 
> proposed adding support for Windows 8.1 only.
> This feature proposes transforming 'windows8' to 'windows' platform which is 
> based on Windows Universal apps and which allows building apps for Windows 8, 
> Windows 8.1 and Windows Phone 8.1. Window Phone 8 (wp8) stays as a platform. 
> Original info from dev mail thread:
> With Windows 8.1 and Windows Phone 8.1 platforms released, it would be great 
> to get Cordova support building apps for those platforms too. A lot of people 
> on this list have also been talking about how to adapt existing apps to the 
> new 8.1 platforms. Here is an initial proposal and prototype of how it may 
> look. 
> TL;DR; - Rename windows8 platform to be called windows. This platform can 
> build apps for Windows 8, Windows 8.1 and Windows Phone 8.1. Window Phone 8 
> (wp8) stays as a platform. 
> Link to the document - 
> https://onedrive.live.com/redir?resid=DEA20E6DC28C96DD!2781&authkey=!APz1za6lnJhsaaQ&ithint=file%2c.docx
> For more details, see "Support for Windows Universal apps (Windows 8.1 and 
> Windows Phone 8.1)" dev email thread
> TODO: add Windows 8.1 and WP8.1 components.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to