Skip to content

Commit

Permalink
Add XPM support to wslusc
Browse files Browse the repository at this point in the history
  • Loading branch information
crramirez committed Jun 2, 2019
1 parent 267c08c commit 922cef6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/wslusc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ if [[ "$cname" != "" ]]; then
cp "$iconpath" "$script_location"

if [[ "$ext" != "ico" ]]; then
if [[ "$ext" == "svg" ]] || [[ "$ext" == "png" ]]; then
if [[ "$ext" == "svg" ]] || [[ "$ext" == "png" ]] || [[ "$ext" == "xpm" ]]; then
echo "${info} Converting $ext icon to ico..."
convert "$script_location/$icon_filename" -resize 256X256 "$script_location/${icon_filename%.$ext}.ico"
icon_filename="${icon_filename%.$ext}.ico"
Expand Down

0 comments on commit 922cef6

Please sign in to comment.