SDL: support for install-time asset pack for Android app bundle

This commit is contained in:
Sergii Pylypenko
2021-06-07 00:20:09 +03:00
parent 211ab6b8be
commit 077acc6880
14 changed files with 153 additions and 31 deletions

View File

@@ -690,6 +690,10 @@ public class Settings
{
nativeSetEnv( "ANDROID_OBB_MOUNT_DIR", p.ObbMountPath );
}
if( p.assetPackPath != null )
{
nativeSetEnv( "ANDROID_ASSET_PACK_PATH", p.assetPackPath );
}
try {
nativeSetEnv( "ANDROID_APP_NAME", p.getString(p.getApplicationInfo().labelRes) );
} catch (Exception eeeeee) {}