Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-11527

Don't copy over icons when adding a plugin or platform

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 6.2.0
    • None
    • AllPlatforms
    • None

    Description

      There are multiple actions that trigger a copying of the icons in the platform directories. I don't think this is necessary in any case other than before a build (including run / emulate).

      I'm using this hook to generate the assets at build time. This means that when for example adding the Android platform, I get these annoying messages:

      cp: no such file or directory: res/android/icon-ldpi.png
      
      cp: no such file or directory: res/android/icon-mdpi.png
      
      cp: no such file or directory: res/android/icon-hdpi.png
      
      cp: no such file or directory: res/android/icon-xhdpi.png
      
      cp: no such file or directory: res/android/icon-xxhdpi.png
      
      cp: no such file or directory: res/android/icon-xxxhdpi.png
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            remcohaszing Remco Haszing
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: