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

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

Github user vladimir-kotikov commented on the pull request:

    https://github.com/apache/cordova-windows/pull/149#issuecomment-196243378
  
    @SunboX, for adding icons with scale factors other than `scale-100` and 
`scale-240` you need to use `target` attribute as following:
    ```xml
        <icon src="res/Windows/Square71x71Logo.png" 
target="Square71x71Logo.png" />
    ```
    instead of adding separate `<icon ...>` tag for each image
    ```xml
        <icon src="res/Windows/Square71x71Logo.scale-100.png" width="71" 
height="71" />
        <icon src="res/Windows/Square71x71Logo.scale-200.png" width="142" 
height="142" />
        <icon src="res/Windows/Square71x71Logo.scale-240.png" width="170" 
height="170" />
    ```
    
    When `target` attribute is specified every image that matches regexp 
`/Square71x71Logo(\.scale\-\d+)?\.png/` will be copied to application's 
`images` directory.


> Windows MRT images are not parsed from config.xml
> -------------------------------------------------
>
>                 Key: CB-10622
>                 URL: https://issues.apache.org/jira/browse/CB-10622
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib, Windows
>    Affects Versions: 6.0.0
>            Reporter: Andor Polgari
>            Assignee: Sergey Grebnov
>              Labels: mustfix, triaged
>
> MRT images on Windows are not working correctly through the config.xml file. 
> "Target" attribute is not parsed from config and not all kind of images are 
> recognized ("scale" only, "targetsize" images are ignored)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to