Demand:
1.1 Computers with Linux installed, virtual machines are available, and the ImageMagick package is installed. I'm using Linux Mint, which is installed directly in the software manager.
2. Put the https://github.com/shamork/cordova-resource-generators/tree/shamork-patch-1/ Download the 3 SH files in the Visual-studio-tools-for-apache-cordova folder, put them on the desktop or somewhere else, and place your original images in the same directory. Suppose the name is Screen.png, (the recommended pixel is greater than 512x512, and the processed background is transparent), run sudo in the shell./genall.sh Screen.png Black Res
3. The Res directory is created in the above directory and the required files are generated
4.Copy the surviving res directory, covering the same name as the VS project.
5. Since all filenames are specified in Vs-mda/app.js and cannot be changed, that is, it is a good deal to do so, no additional configuration is required in config. SplashScreen, where the first line is set up and is automatically added when the project is generated. The second line sets the display time (in milliseconds) and the icon does not require any settings.
1 < name= "SplashScreen" value= "screen"/>2< name = "Splashscreendelay" value = "/>"
6. Refer to Https://msdn.microsoft.com/en-us/library/dn757053.aspx, where windows and WP8 have several file names that are inconsistent with the files generated in the empty project and have been modified to coincide with the resulting project.
7.Cordova Official website http://cordova.apache.org/docs/en/4.0.0/config_ref_images.md.html instructions are not available in VisualStudio, Because of the rules and filenames that are used in the Convention
Use Apache Cordova in Visual Studio to develop Android, iOS programs (custom icons and splash screens)