Skip to content

Commit

Permalink
Initial import
Browse files Browse the repository at this point in the history
  • Loading branch information
ivoronin committed May 3, 2018
0 parents commit fc779af
Show file tree
Hide file tree
Showing 36 changed files with 868 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
xcuserdata
.DS_Store
node_modules
*.dmg
*.xcarchive
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
package-lock=false
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
osx_image: xcode9.3
language: objective-c

script: ./build.sh
1 change: 1 addition & 0 deletions Icons/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
*.iconset
1 change: 1 addition & 0 deletions Icons/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Images are downloaded from https://icons8.com/icon/1810/tomato
23 changes: 23 additions & 0 deletions Icons/convert.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
#!/bin/bash -e
APPICON_SRC=tomato.png
APPICON_ICONSET=tomato.iconset
BARICON_SRC=tomato-filled.png
BARICON_ICONSET=tomato-filled.iconset

CONVERT="convert -background none -trim +repage"

rm -rf ${APPICON_ICONSET} ${BARICON_ICONSET}
mkdir ${APPICON_ICONSET} ${BARICON_ICONSET}
${CONVERT} -resize '!16x16' ${APPICON_SRC} ${APPICON_ICONSET}/icon_16x16.png
${CONVERT} -resize '!32x32' ${APPICON_SRC} ${APPICON_ICONSET}/icon_16x16@2x.png
${CONVERT} -resize '!32x32' ${APPICON_SRC} ${APPICON_ICONSET}/icon_32x32.png
${CONVERT} -resize '!64x64' ${APPICON_SRC} ${APPICON_ICONSET}/icon_32x32@2x.png
${CONVERT} -resize '!128x128' ${APPICON_SRC} ${APPICON_ICONSET}/icon_128x128.png
${CONVERT} -resize '!256x256' ${APPICON_SRC} ${APPICON_ICONSET}/icon_128x128@2x.png
${CONVERT} -resize '!256x256' ${APPICON_SRC} ${APPICON_ICONSET}/icon_256x256.png
${CONVERT} -resize '!512x512' ${APPICON_SRC} ${APPICON_ICONSET}/icon_256x256@2x.png
${CONVERT} -resize '!512x512' ${APPICON_SRC} ${APPICON_ICONSET}/icon_512x512.png
${CONVERT} -resize '!1024x1024' ${APPICON_SRC} ${APPICON_ICONSET}/icon_512x512@2x.png
${CONVERT} -resize '!16x16' ${BARICON_SRC} ${BARICON_ICONSET}/icon_16x16.png
${CONVERT} -resize '!32x32' ${BARICON_SRC} ${BARICON_ICONSET}/icon_16x16@2x.png
${CONVERT} -resize '!48x48' ${BARICON_SRC} ${BARICON_ICONSET}/icon_16x16@3x.png
Binary file added Icons/tomato-filled.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Icons/tomato.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit fc779af

Please sign in to comment.