Skip to content

Windows: ionic resources creates invalid paths (for Mac) in config.xml (slash vs. backslash) #625

@janpio

Description

@janpio

When calling ionic resources on Windows from a terminal prompt all the images are correctly generated and config.xml is updated with the new image paths. But as soon as you want to build this on Mac, you get cp errors as Mac can't find these paths. Ultimately your app may be built with old images as splash and icon.

Reason for this is that when generating on Windows you get \ in the paths, on Mac you get /. As / seems to work on both platforms, ionic resources should probably replace \ by / on Windows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions