clean up script
This commit is contained in:
parent
60de1450bc
commit
c12606a81b
1 changed files with 1 additions and 4 deletions
|
@ -13,15 +13,12 @@ check_programs() {
|
|||
|
||||
check_programs "icns2png" "composite" "convert" "png2icns" "icotool"
|
||||
|
||||
pwd
|
||||
|
||||
for file in vscode/resources/darwin/*
|
||||
do
|
||||
if [ -f "$file" ]; then
|
||||
name=$(basename $file '.icns')
|
||||
|
||||
if [[ $name != 'code' ]] && [ ! -f "src/resources/darwin/$name.icns" ]; then
|
||||
echo "src/resources/darwin/$name.icns"
|
||||
icns2png -x -s 512x512 $file -o .
|
||||
|
||||
composite -blend 100% -geometry +323+365 icons/corner_512.png "${name}_512x512x32.png" "$name.png"
|
||||
|
@ -51,4 +48,4 @@ do
|
|||
rm "${name}_9_256x256x32.png" "${name}.png"
|
||||
fi
|
||||
fi
|
||||
done
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue