Skip to content
This repository has been archived by the owner on Oct 1, 2018. It is now read-only.

Build command on windows machine generates wrong path in chcp.manifest #5

Closed
nikDemyankov opened this issue Sep 18, 2015 · 0 comments
Closed
Labels
Milestone

Comments

@nikDemyankov
Copy link
Member

If you run cordova-hcp build on windows machine - chcp.manifest contains full path to the files instead of the relative ones.

For example, on windows you will get

[
  {
    "file": "C:\\projekte\\ai\\project\\www\\css\\style.css",
    "hash": "0699289c56ae49c509e03e49fdbd0b1b"
  }
]

but it should be:

[
  {
    "file": "css/style.css",
    "hash": "0699289c56ae49c509e03e49fdbd0b1b"
  }
]

Also, \\ must be replaced with / since file is attached to the content_url as it is.

sirikon pushed a commit to sirikon-forks/cordova-hot-code-push-cli that referenced this issue Oct 21, 2015
@sirikon sirikon mentioned this issue Oct 21, 2015
@nikDemyankov nikDemyankov added this to the v1.0.2 milestone Oct 23, 2015
nikDemyankov added a commit that referenced this issue Oct 23, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants