You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Rename UE4CommandLine.txt to UECommandLine.txt and deal with all the related changes
#rb TBD #jira UE-113713 [CL 16093056 by jeff newquist in ue5-main branch]
This commit is contained in:
@@ -703,7 +703,7 @@ public class GameActivity extends $${gameActivitySuperClass}$$ implements Surfac
|
||||
|
||||
BufferedReader reader = null;
|
||||
|
||||
// determine the proper place to look for UE4CommandLine.txt as override outside APK
|
||||
// determine the proper place to look for UECommandLine.txt as override outside APK
|
||||
String BaseDirectory = android.os.Environment.getExternalStorageDirectory().getAbsolutePath();
|
||||
if (bUseExternalFilesDir)
|
||||
{
|
||||
@@ -715,11 +715,11 @@ public class GameActivity extends $${gameActivitySuperClass}$$ implements Surfac
|
||||
}
|
||||
|
||||
// first look for an override in the project directory
|
||||
String filename = BaseDirectory + "/UnrealGame/" + ProjectName + "/UE4CommandLine.txt";
|
||||
String filename = BaseDirectory + "/UnrealGame/" + ProjectName + "/UECommandLine.txt";
|
||||
reader = TryOpenFileReader(filename);
|
||||
if (reader == null)
|
||||
{
|
||||
filename = BaseDirectory + "/UnrealGame/" + ProjectName + "/ue4commandline.txt";
|
||||
filename = BaseDirectory + "/UnrealGame/" + ProjectName + "/uecommandline.txt";
|
||||
reader = TryOpenFileReader(filename);
|
||||
}
|
||||
|
||||
@@ -728,7 +728,7 @@ public class GameActivity extends $${gameActivitySuperClass}$$ implements Surfac
|
||||
{
|
||||
try
|
||||
{
|
||||
InputStream stream = AssetManagerReference.open("UE4CommandLine.txt");
|
||||
InputStream stream = AssetManagerReference.open("UECommandLine.txt");
|
||||
reader = new BufferedReader(new InputStreamReader(stream));
|
||||
Log.debug("Using APK commandline");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user