Add pak utils

This commit is contained in:
mittorn
2015-12-20 17:19:32 +06:00
parent cd89009d6b
commit bee8f590a3
4 changed files with 52 additions and 0 deletions

View File

@@ -988,6 +988,10 @@ public class SDLActivity extends Activity {
}
os.close();
is.close();
SharedPreferences.Editor editor = mPref.edit();
editor.putInt( "pakversion", PAK_VERSION );
editor.commit();
editor.apply();
} catch( Exception e )
{
Log.e( TAG, "Failed to extract PAK:" + e.toString() );