mirror of
https://github.com/TangentFoxy/love-release.git
synced 2025-07-28 11:02:20 +00:00
OUYA icons, #3
This commit is contained in:
@@ -102,6 +102,7 @@ with eventual underscores (i.e. [a-zA-Z0-9\_]), otherwise you'll get errors.
|
||||
It will then search the icon directory for subdirectories like
|
||||
`drawable-mdpi`, `drawable-hdpi`, `drawable-xhdpi` and `drawable-xxhdpi`
|
||||
to find an `ic_launcher.png` image.
|
||||
OUYA icon (size `732x412`, or `drawable-xhdpi/ouya_icon.png`) is supported.
|
||||
`--activity` The name of the class that extends GameActivity.
|
||||
By default it is the name of the project with ‘Activity’ appended,
|
||||
eventual spaces and dashes replaced by underscores.
|
||||
|
@@ -128,6 +128,7 @@ The script will first look up for filename that contains
|
||||
It will then search the icon directory for subdirectories like
|
||||
\fIdrawable-mdpi\fR, \fIdrawable-hdpi\fR, \fIdrawable-xhdpi\fR and \fIdrawable-xxhdpi\fR
|
||||
to find an \fIic_launcher.png\fR image.
|
||||
OUYA icon (size \fI732x412\fR, or \fIdrawable-xhdpi/ouya_icon.png\fR) is supported.
|
||||
.TP
|
||||
.B \-\-activity \fIactivity\fR
|
||||
The name of the class that extends GameActivity.
|
||||
|
@@ -137,6 +137,9 @@ if [ -n "$ICON_DIR" ]; then
|
||||
elif [ "$RES" = "144x144" ]; then
|
||||
cp "$PROJECT_DIR"/"$ICON_DIR"/"$ICON" \
|
||||
"$LOVE_ANDROID_DIR"/res/drawable-xxhdpi/ic_launcher.png
|
||||
elif [ "$RES" = "732x412" ]; then
|
||||
cp "$PROJECT_DIR"/"$ICON_DIR"/"$ICON" \
|
||||
"$LOVE_ANDROID_DIR"/res/drawable-xhdpi/ouya_icon.png
|
||||
fi
|
||||
done
|
||||
if [ -f "$PROJECT_DIR/$ICON_DIR/drawable-mdpi/ic_launcher.png" ]; then
|
||||
@@ -156,9 +159,11 @@ if [ -n "$ICON_DIR" ]; then
|
||||
cp "$PROJECT_DIR"/"$ICON_DIR"/drawable-xxhdpi/ic_launcher.png \
|
||||
"$LOVE_ANDROID_DIR"/res/drawable-xxhdpi/ic_launcher.png
|
||||
fi
|
||||
if [ -f "$PROJECT_DIR/$ICON_DIR/drawable-xhdpi/ouya_icon.png" ]; then
|
||||
cp "$PROJECT_DIR"/"$ICON_DIR"/drawable-xhdpi/ouya_icon.png \
|
||||
"$LOVE_ANDROID_DIR"/res/drawable-xhdpi/ouya_icon.png
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
|
||||
|
||||
ant debug
|
||||
|
Reference in New Issue
Block a user