4

How would i add a custom icon with a given name to my nativescript project using the tns resources generate icons-command

$tns resources generate icons ~/myfolder/myspecialicon.png

Say i want the command to place the icon(s) in the correct folders maintaining the name myspecialicon.xxx instead of just overwriting the default icon.png?

Cheers

Lasse

1 Answers1

4

That only generates the app icon. To generate other icons (and other image assets, really) I recommend the online tool http://images.nativescript.rocks/.

It generates assets for both Android and iOS. All you have to do is grab the result and merge it into your project's App_Resources. I know it is not ideal but it's the best workflow I found so far.

Tiago A.
  • 2,568
  • 1
  • 22
  • 27