mirror of
https://github.com/DrBeef/RTCWQuest.git
synced 2025-04-23 07:20:51 +00:00
Remove old vr menu asets on start
This commit is contained in:
parent
92a94a399b
commit
86a6a87903
1 changed files with 9 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue