Skip to content

Commit

Permalink
My bad
Browse files Browse the repository at this point in the history
  • Loading branch information
MAJigsaw77 authored Dec 1, 2023
1 parent dd8f112 commit c1d568a
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion tools/platforms/AndroidPlatform.hx
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,12 @@ class AndroidPlatform extends PlatformTarget
context.CPP_DIR = targetDirectory + "/obj";
context.OUTPUT_DIR = targetDirectory;
context.ANDROID_INSTALL_LOCATION = project.config.getString("android.install-location", "auto");
context.ANDROID_APP_CATEGORY = project.config.getString("android.appCategory", null);

if (project.config.exists("android.appCategory"))
{
context.ANDROID_APP_CATEGORY = project.config.getString("android.appCategory");
}

context.ANDROID_MINIMUM_SDK_VERSION = project.config.getInt("android.minimum-sdk-version", 21);
context.ANDROID_TARGET_SDK_VERSION = project.config.getInt("android.target-sdk-version", 30);
context.ANDROID_EXTENSIONS = project.config.getArrayString("android.extension");
Expand Down

0 comments on commit c1d568a

Please sign in to comment.