Remove old vr menu asets on start

This commit is contained in:
Petr Bartos 2023-10-04 21:08:50 +02:00
parent 92a94a399b
commit 86a6a87903

View file

@ -263,6 +263,15 @@ import static android.system.Os.setenv;
//and some additional vr assets
copy_asset("/sdcard/RTCWQuest/Main", "z_vr_assets.pk3", true);
// (also delete pak from previous version)
File oldAssetPak = new File("/sdcard/RTCWQuest/Main/z_rtcwquest_vrmenu.pk3");
if (oldAssetPak.exists()) {
try {
oldAssetPak.delete();
} catch (Exception e) {
e.printStackTrace();
}
}
//and the venom scripting improvements pak (thank-you _HELLBARON_ !!)
copy_asset("/sdcard/RTCWQuest/Main", "sp_vpak8.pk3", false);