This repository has been archived by the owner on Jan 9, 2023. It is now read-only.
CB-11516 windows: Preparing icons w/ target fails #179
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Putting the following line in the config will will cause an error: "Source
directory does not exist: Square44x44Logo_100.scale"
In prepare.js,
copyImages
callsmapImageResources
but subdirectoryinformation was lost.
copyMrtImage
in an earlier commit preserved thisinformation (shown in the link below), but it was lost in a refactoring.
cordova-windows/template/cordova/lib/prepare.js
Line 316 in c1b80be
This was missed by a defect in the
copyIcons
test inPrepare.Win10.spec.js:
readdirSync
was spied on to return an array of file paths when itactually only returns an array of the filenames. This caused the
copyIcons
spec to pass but the code failed when used.