capacitor-resources
Version:
Generates icon & splash screen for capacitor projects using javascript only.
72 lines • 1.66 kB
JavaScript
module.exports = {
platform: 'android',
type: 'icon',
path: 'android/icon/',
definitions: [
{
name: 'drawable-ldpi-icon.png',
size: 36,
comment: 'ldpi'
},
{
name: 'drawable-mdpi-icon.png',
size: 48,
comment: 'mdpi'
},
{
name: 'drawable-hdpi-icon.png',
size: 72,
comment: 'hdpi'
},
{
name: 'drawable-xhdpi-icon.png',
size: 96,
comment: 'xhdpi'
},
{
name: 'drawable-xxhdpi-icon.png',
size: 144,
comment: 'xxhdpi'
},
{
name: 'drawable-xxxhdpi-icon.png',
size: 192,
comment: 'xxxhdpi'
},
{
name: 'drawable-playstore-512-icon.png',
size: 512,
comment: 'Google Play Store'
},
{
name: 'mipmap-hdpi/ic_launcher.png',
size: 72,
comment: ''
},
{
name: 'mipmap-ldpi/ic_launcher.png',
size: 36,
comment: ''
},
{
name: 'mipmap-mdpi/ic_launcher.png',
size: 48,
comment: ''
},
{
name: 'mipmap-xhdpi/ic_launcher.png',
size: 96,
comment: ''
},
{
name: 'mipmap-xxhdpi/ic_launcher.png',
size: 144,
comment: ''
},
{
name: 'mipmap-xxxhdpi/ic_launcher.png',
size: 192,
comment: ''
}
]
};