cordova-splashはcordovaのスプラッシュを一括で作成するnpmパッケージ

  • このエントリーをはてなブックマークに追加

cordovaのスプラッシュを一括で作成するnpmパッケージ

https://www.npmjs.com/package/ 

[code language=”bash”]
sudo npm install cordova-splash -g
[/code]

[code language=”bash”]
cordova-splash –config=config.xml –splash=images/002.splash-screen.png

Checking Project & Splash

✓ platforms found: android
✓ images/002.splash-screen.png exists
✓ config.xml exists

Generating splash screen for android

resize arg
arg 320×200
resize arg
arg 480×320
resize arg
arg 800×480
resize arg
arg 1280×720
resize arg
arg 1920×1280
resize arg
arg 1600×960
resize arg
arg 320×480
resize arg
arg 200×320
resize arg
arg 480×800
resize arg
arg 720×1280
resize arg
arg 960×1600
resize arg
arg 1280×1920
✓ drawable-land-ldpi/screen.png created
✓ drawable-land-mdpi/screen.png created
✓ drawable-port-ldpi/screen.png created
✓ drawable-port-mdpi/screen.png created
✓ drawable-port-hdpi/screen.png created
✓ drawable-land-hdpi/screen.png created
✓ drawable-port-xhdpi/screen.png created
✓ drawable-land-xhdpi/screen.png created
✓ drawable-port-xxhdpi/screen.png created
✓ drawable-port-xxxhdpi/screen.png created
✓ drawable-land-xxhdpi/screen.png created
✓ drawable-land-xxxhdpi/screen.png created

[/code]

  • このエントリーをはてなブックマークに追加

SNSでもご購読できます。