Round-rect Mac icon.
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 797 B After Width: | Height: | Size: 921 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 33 KiB After Width: | Height: | Size: 34 KiB |
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 4.0 KiB |
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 134 KiB |
Before Width: | Height: | Size: 595 KiB After Width: | Height: | Size: 588 KiB |
Before Width: | Height: | Size: 126 KiB After Width: | Height: | Size: 126 KiB |
Before Width: | Height: | Size: 594 KiB After Width: | Height: | Size: 594 KiB |
BIN
MasterPassword/Resources/Media/mac-icon.png
Normal file
After Width: | Height: | Size: 134 KiB |
BIN
MasterPassword/Resources/Media/mac-icon@2x.png
Normal file
After Width: | Height: | Size: 1.1 MiB |
@ -17,7 +17,7 @@
|
|||||||
<string>Inconsolata</string>
|
<string>Inconsolata</string>
|
||||||
</array>
|
</array>
|
||||||
<key>length</key>
|
<key>length</key>
|
||||||
<integer>76976</integer>
|
<integer>101442</integer>
|
||||||
<key>version</key>
|
<key>version</key>
|
||||||
<integer>37</integer>
|
<integer>37</integer>
|
||||||
</dict>
|
</dict>
|
||||||
|
@ -16,34 +16,35 @@ downsize() {
|
|||||||
|
|
||||||
inf "Converting appiconsets"
|
inf "Converting appiconsets"
|
||||||
declare -A icons=(
|
declare -A icons=(
|
||||||
["Icon-60@2x.png"]=120
|
["ios-Icon-60@2x.png"]=120
|
||||||
["Icon-40@2x.png"]=80
|
["ios-Icon-40@2x.png"]=80
|
||||||
["Icon-40~ipad.png"]=40
|
["ios-Icon-40~ipad.png"]=40
|
||||||
["Icon-40~ipad@2x.png"]=80
|
["ios-Icon-40~ipad@2x.png"]=80
|
||||||
["Icon-Small@2x.png"]=58
|
["ios-Icon-Small@2x.png"]=58
|
||||||
["Icon-Small~ipad.png"]=29
|
["ios-Icon-Small~ipad.png"]=29
|
||||||
["Icon-Small~ipad@2x.png"]=58
|
["ios-Icon-Small~ipad@2x.png"]=58
|
||||||
["Icon-76~ipad.png"]=76
|
["ios-Icon-76~ipad.png"]=76
|
||||||
["Icon-76~ipad@2x.png"]=152
|
["ios-Icon-76~ipad@2x.png"]=152
|
||||||
["icon_512x512.png"]=512
|
["mac-icon_512x512.png"]=512
|
||||||
["icon_512x512@2x.png"]=1024
|
["mac-icon_512x512@2x.png"]=1024
|
||||||
["icon_256x256@2x.png"]=512
|
["mac-icon_256x256@2x.png"]=512
|
||||||
["icon_256x256.png"]=256
|
["mac-icon_256x256.png"]=256
|
||||||
["icon_128x128@2x.png"]=256
|
["mac-icon_128x128@2x.png"]=256
|
||||||
["icon_128x128.png"]=128
|
["mac-icon_128x128.png"]=128
|
||||||
["icon_32x32@2x.png"]=64
|
["mac-icon_32x32@2x.png"]=64
|
||||||
["icon_32x32.png"]=32
|
["mac-icon_32x32.png"]=32
|
||||||
["icon_16x16@2x.png"]=32
|
["mac-icon_16x16@2x.png"]=32
|
||||||
["icon_16x16.png"]=16
|
["mac-icon_16x16.png"]=16
|
||||||
)
|
)
|
||||||
for name in "${!icons[@]}"; do
|
for name in "${!icons[@]}"; do
|
||||||
size=${icons[$name]}
|
size=${icons[$name]}
|
||||||
file=Images.xcassets/AppIcon.appiconset/$name
|
source=${name%%-*}-icon@2x.png
|
||||||
|
file=Images.xcassets/AppIcon.appiconset/${name#*-}
|
||||||
echo "$PWD/$file"
|
echo "$PWD/$file"
|
||||||
|
|
||||||
if [[ "iTunesArtwork@2x.png" -nt $file ]]; then
|
if [[ $source -nt $file ]]; then
|
||||||
pinf "$file ($size px)"
|
pinf "$file ($size px)"
|
||||||
downsize "iTunesArtwork@2x.png" "$file" "${size}x${size}"
|
downsize "$source" "$file" "${size}x${size}"
|
||||||
fnip
|
fnip
|
||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|