NativeScript / NativeScript/nativescript-cli
tns resources generate needs dummy png for Android
@KristianDD já está trabalhando nisso.
Desde 21/10/2019.
- Linguagem predominante
- JavaScript
- Estrelas
- 1.1k
- Forks
- 204
- Merge médio
- 1d 9h
- PRs com merge (30d)
- 8
Descrição
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: 6.0.2
- Cross-platform modules:
- Android Runtime: 6.0.0
- iOS Runtime: 6.0.1
- Plugin(s):
Describe the bug
When running tns resources generate <icons | splashes> I seem to need a stub/dummy version of the resource already in the AppResources folder. But this is only true for my Android build. That is, I need to not only have all the *drawable_dpi folders but they all have ta have a file called icon.png if runing icons and one called logo.png if running splashes. If the file is there it will overwrite it with the new value, if the file is not there it does nothing. Shouldn't it create the file? I have a script that copies over a template App_Resources file and then runs these commands. It would be nice to not have to include dummy versions of all these files in my template directory.
To Reproduce
Run tns resources generate icons <icon.png> on an empty App_Resources/Android directory.
Expected behavior
Auto-creation of directories and files.
Guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Avaliação
Esta issue ainda não foi avaliada.