SDL: Link to your own apk file as env var

This commit is contained in:
Sergii Pylypenko
2015-07-10 23:42:22 +03:00
parent efeb5baa99
commit cdd6ad13ef
3 changed files with 4 additions and 3 deletions

View File

@@ -619,6 +619,7 @@ class Settings
nativeSetEnv( "SDCARD", Environment.getExternalStorageDirectory().getAbsolutePath() );
nativeSetEnv( "ANDROID_VERSION", String.valueOf(android.os.Build.VERSION.SDK_INT) );
nativeSetEnv( "ANDROID_PACKAGE_NAME", p.getPackageName() );
nativeSetEnv( "ANDROID_MY_OWN_APP_FILE", p.getPackageResourcePath() );
try {
nativeSetEnv( "ANDROID_APP_NAME", p.getString(p.getApplicationInfo().labelRes) );
} catch (Exception eeeeee) {}

View File

@@ -7,10 +7,10 @@ AppName="TeeWorlds"
AppFullName=com.teeworlds
# Application version code (integer)
AppVersionCode=06322
AppVersionCode=06323
# Application user-visible version name (string)
AppVersionName="0.6.3.22"
AppVersionName="0.6.3.23"
# Specify path to download application data in zip archive in the form 'Description|URL|MirrorURL^Description2|URL2|MirrorURL2^...'
# If you'll start Description with '!' symbol it will be enabled by default, other downloads should be selected by user from startup config menu