Project: titanium
Issue TIMOB-19487: Windows: Generate missing app icons based on DefaultIcon.png
If any of the app icons are missing, then search for -{{/platforms/windows/DefaultIcon.png}}- and {{/DefaultIcon.png}} and us it to generate missing app icons. You simply need to the base Builder object's {{generateAppIcons()}} method: {code} var missingIcons = [ { description: 'Resources//appicon.png - Used for iPhone', // some meaningful description... iOS build dynamically generates this file: '/path/to/dest.png', // MUST be a png and MUST have an extension width: 100, // whatever is required height: 100, // should match width required: true // when DefaultIcon.png isn't big enough, true will trigger an error and false will skip the icon } ]; this.generateAppIcons(missingIcons, function (err) { // err is either true if there was an error or undefined if it was successful }); {code} Here's a good article on MSDN about the assets for Windows apps: https://msdn.microsoft.com/en-us/library/windows/apps/mt412102.aspx
Story points: 8