2 Star 2 Fork 0

hcxiong/ionic-joke

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
resources.sh 1.07 KB
一键复制 编辑 原始数据 按行查看 历史
hcxiong 提交于 2015-11-19 15:55 . no message
#!/bin/sh
#icon
webkit2png -F ./resources/icon.html -o ./resources/icon
mogrify -crop 1024x1024+0+0 ./resources/icon-full.png
convert -transparent white ./resources/icon-full.png ./jokeApp/resources/icon.png
rm -f ./resources/icon-full.png
sips -Z 512 ./jokeApp/resources/icon.png --out ./jokeApp/resources/icon512.png
sips -Z 16 ./jokeApp/resources/icon512.png --out ./jokeApp/resources/icon16.png
sips -Z 28 ./jokeApp/resources/icon512.png --out ./jokeApp/resources/icon28.png
sips -Z 108 ./jokeApp/resources/icon512.png --out ./jokeApp/resources/icon108.png
sips -Z 144 ./jokeApp/resources/icon512.png --out ./jokeApp/resources/icon144.png
#icon2
webkit2png -F ./resources/icon.html -o ./resources/icon
mogrify -crop 1024x1024+0+0 ./resources/icon-full.png
mv -f ./resources/icon-full.png ./jokeApp/resources/icon2.png
#splash
webkit2png -F ./resources/splash.html -o ./resources/splash
mogrify -crop 2208x2208+0+0 ./resources/splash-full.png
mv -f ./resources/splash-full.png ./jokeApp/resources/splash.png
cd ./jokeApp/
ionic resources
sudo ionic build android
sudo ionic build ios
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
JavaScript
1
https://gitee.com/hcxiong/ionic-joke.git
git@gitee.com:hcxiong/ionic-joke.git
hcxiong
ionic-joke
ionic-joke
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385