Missed icon
|
@ -4,13 +4,6 @@ mydir="$(dirname "$(realpath "$0")")"
|
|||
|
||||
base_out="$mydir/../vector/src/main/res"
|
||||
|
||||
dpi=96
|
||||
|
||||
base_folder="$mydir/../vector/src/main/res/drawable"
|
||||
|
||||
file="$mydir/riot_splash_0_green.svg"
|
||||
export_files
|
||||
|
||||
export_files() {
|
||||
newfile="$(basename "$file" .svg).png"
|
||||
mkdir -p $base_folder-mdpi
|
||||
|
@ -25,6 +18,19 @@ export_files() {
|
|||
inkscape "$file" --export-filename="$base_folder-xxxhdpi/$newfile" -C --export-dpi=$(($dpi*4))
|
||||
}
|
||||
|
||||
dpi=96
|
||||
|
||||
|
||||
base_folder="$mydir/../vector/src/main/res/drawable"
|
||||
|
||||
file="$mydir/riot_splash_0_green.svg"
|
||||
export_files
|
||||
|
||||
cp "$mydir/ic_launcher.svg" "$mydir/riotx_logo.svg"
|
||||
file="$mydir/riotx_logo.svg"
|
||||
export_files
|
||||
rm "$mydir/riotx_logo.svg"
|
||||
|
||||
|
||||
base_folder="$mydir/../vector/src/main/res/mipmap"
|
||||
dpi=24 # 96/4
|
||||
|
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 7.8 KiB After Width: | Height: | Size: 8.6 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 30 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 43 KiB After Width: | Height: | Size: 38 KiB |