[merge] Fix icon_gen.sh
Change-Id: I17dc3080d664cb3bef0560804c514e4400caa0b4
This commit is contained in:
parent
083bc6df0e
commit
c43461e58f
|
@ -2,8 +2,6 @@
|
||||||
|
|
||||||
mydir="$(dirname "$(realpath "$0")")"
|
mydir="$(dirname "$(realpath "$0")")"
|
||||||
|
|
||||||
base_out="$mydir/../vector/src/main/res"
|
|
||||||
|
|
||||||
export_files() {
|
export_files() {
|
||||||
newfile="$(basename "$file" .svg).png"
|
newfile="$(basename "$file" .svg).png"
|
||||||
mkdir -p $base_folder-mdpi
|
mkdir -p $base_folder-mdpi
|
||||||
|
@ -38,7 +36,7 @@ export_files
|
||||||
rm "$mydir/element_logo_sc.svg"
|
rm "$mydir/element_logo_sc.svg"
|
||||||
|
|
||||||
|
|
||||||
base_folder="$mydir/../vector/src/main/res/mipmap"
|
base_folder="$mydir/../vector-app/src/main/res/mipmap"
|
||||||
dpi=24 # 96/4
|
dpi=24 # 96/4
|
||||||
|
|
||||||
file="$mydir/ic_launcher_sc.svg"
|
file="$mydir/ic_launcher_sc.svg"
|
||||||
|
|
Loading…
Reference in New Issue