Skip to content

Commit

Permalink
feat: add option to exclude dir from app-thinning-catalog (#581)
Browse files Browse the repository at this point in the history
  • Loading branch information
mbender74 authored Jun 28, 2022
1 parent 54c9eb0 commit a3ddd8c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/tiappxml.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ function toXml(dom, parent, name, value) {
break;

case 'ios':
if (Object.prototype.hasOwnProperty.call(value, 'exclude-dir-from-asset-catalog')) {
dom.create('exclude-dir-from-asset-catalog', { nodeValue: !!value['exclude-dir-from-asset-catalog'] }, node);
}

if (Object.prototype.hasOwnProperty.call(value, 'enable-launch-screen-storyboard')) {
dom.create('enable-launch-screen-storyboard', { nodeValue: !!value['enable-launch-screen-storyboard'] }, node);
}
Expand Down Expand Up @@ -443,6 +447,7 @@ function toJS(obj, doc) {
var ios = obj.ios = {};
xml.forEachElement(node, function (elem) {
switch (elem.tagName) {
case 'exclude-dir-from-asset-catalog':
case 'enable-launch-screen-storyboard':
case 'enablecoverage':
case 'enablemdfind':
Expand Down

0 comments on commit a3ddd8c

Please sign in to comment.