NativeScript / NativeScript/nativescript-cli
tns resources generate needs dummy png for Android
@KristianDD 已經在處理了。
開始於 2019年10月21日。
- 主要語言
- JavaScript
- 星號
- 1.1k
- 分支
- 204
- 平均合併
- 1 天 9 小時
- 30 天內合併 PR
- 8
描述
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.
貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
評估
這個 Issue 還沒有評估資料。