diff --git a/Projects/Android/AndroidManifest.xml b/Projects/Android/AndroidManifest.xml index 621ee72..b2547fa 100644 --- a/Projects/Android/AndroidManifest.xml +++ b/Projects/Android/AndroidManifest.xml @@ -1,8 +1,8 @@ + android:versionCode="33" + android:versionName="0.5.2" android:installLocation="auto" > diff --git a/java/com/drbeef/jkquest/GLES3JNIActivity.java b/java/com/drbeef/jkquest/GLES3JNIActivity.java index 3ffd910..dce0a2c 100644 --- a/java/com/drbeef/jkquest/GLES3JNIActivity.java +++ b/java/com/drbeef/jkquest/GLES3JNIActivity.java @@ -212,10 +212,10 @@ import java.util.Vector; String model = android.os.Build.MODEL; if (model.contains("Quest")) { //Meta Quest - copy_asset_device_specific("/sdcard/JKQuest/JK2/base", "openjo_sp_quest.cfg", "openjo_sp.cfg", false); + copy_asset_with_rename("/sdcard/JKQuest/JK2/base", "openjo_sp_quest.cfg", "openjo_sp.cfg", false); } else { //Pico XR - copy_asset_device_specific("/sdcard/JKQuest/JK2/base", "openjo_sp_pico.cfg", "openjo_sp.cfg", false); + copy_asset_with_rename("/sdcard/JKQuest/JK2/base", "openjo_sp_pico.cfg", "openjo_sp.cfg", false); } //Bunch of cool mods and their credits - only copy if user wants them @@ -274,8 +274,8 @@ import java.util.Vector; mNativeHandle = GLES3JNILib.onCreate( this, commandLineParams ); } - public void copy_asset_device_specific(String path, String name, String name_out, boolean force) { - File f = new File(path + "/" + name); + public void copy_asset_with_rename(String path, String name, String name_out, boolean force) { + File f = new File(path + "/" + name_out); if (!f.exists() || force) { //Ensure we have an appropriate folder