meteor icons & splash配置

ionic resources

http://ionicframework.com/docs/cli/icon-splashscreen.html

用一条指令生成ionic生需Icons & splash,拷贝至meteor项目,使用的下面的配置。
App.info({
id: 'xxx.xxx.xxxx',
name: 'xxx',
description: 'xxx',
author: '---',
version: '0.3.2',
email: '9830131#qq.com',
website: 'http://www.xxxxx.com'
});

App.icons({ // iOS
'iphone': 'resources/icons/icon-60.png',
'iphone_2x': 'resources/icons/icon-60@2x.png',
'iphone_3x': 'resources/icons/icon-60@3x.png',
'ipad': 'resources/icons/icon-76.png',
'ipad_2x': 'resources/icons/icon-76@2x.png',
// Android 'android_ldpi': 'resources/icons/drawable-ldpi-icon.png', 'android_mdpi': 'resources/icons/drawable-mdpi-icon.png', 'android_hdpi': 'resources/icons/drawable-hdpi-icon.png', 'android_xhdpi': 'resources/icons/drawable-xhdpi-icon.png' }); App.launchScreens({ // iOS 'iphone': 'resources/splash/Default~iphone.png', 'iphone_2x': 'resources/splash/Default@2x~iphone.png', 'iphone5': 'resources/splash/Default-568h@2x~iphone.png', 'iphone6': 'resources/splash/Default-667h.png', 'iphone6p_portrait': 'resources/splash/Default-736h.png', 'iphone6p_landscape': 'resources/splash/Default-Landscape-736h.png', 'ipad_portrait': 'resources/splash/Default-Portrait~ipad.png', 'ipad_portrait_2x': 'resources/splash/Default-Portrait@2x~ipad.png', 'ipad_landscape': 'resources/splash/Default-Landscape~ipad.png', 'ipad_landscape_2x': 'resources/splash/Default-Landscape@2x~ipad.png', // Android 'android_ldpi_portrait': 'resources/splash/drawable-port-ldpi-screen.png', 'android_ldpi_landscape': 'resources/splash/drawable-land-ldpi-screen.png', 'android_mdpi_portrait': 'resources/splash/drawable-port-mdpi-screen.png', 'android_mdpi_landscape': 'resources/splash/drawable-land-mdpi-screen.png', 'android_hdpi_portrait': 'resources/splash/drawable-port-hdpi-screen.png', 'android_hdpi_landscape': 'resources/splash/drawable-land-hdpi-screen.png', 'android_xhdpi_portrait': 'resources/splash/drawable-port-xhdpi-screen.png', 'android_xhdpi_landscape': 'resources/splash/drawable-land-xhdpi-screen.png' });

  

原文地址:https://www.cnblogs.com/sban/p/4725199.html