You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
HTML5 - 4.22.1 - update browser paths for launch on menu
#jira UE-71886 FireFox Quantum 67.0b3 fails to launch on correctly #rnx #rb none #lockdown jack.porter #ROBOMERGE-OWNER: ryan.vance #ROBOMERGE-AUTHOR: nick.shin #ROBOMERGE-SOURCE: CL 5710978 in //UE4/Release-4.22/... via CL 5711369 #ROBOMERGE-BOT: DEVVR (Main -> Dev-VR) [CL 5720420 by nick shin in Dev-VR branch]
This commit is contained in:
@@ -350,7 +350,13 @@ void FHTML5TargetPlatform::PopulateDevices(TArray<FString>& DeviceMaps, FString
|
||||
if( FParse::Value( *It, TEXT( "BrowserName=" ), DeviceName ) && !DeviceName.IsEmpty() &&
|
||||
FParse::Value( *It, TEXT( "BrowserPath=(FilePath=" ), DevicePath ) && !DevicePath.IsEmpty() )
|
||||
{
|
||||
|
||||
#if PLATFORM_WINDOWS
|
||||
if ( DeviceName.StartsWith( TEXT( "Canary" ) ) )
|
||||
{
|
||||
FString UserName = FPlatformMisc::GetEnvironmentVariable(TEXT("USRENAME"));
|
||||
DevicePath.Replace( TEXT("your_username"), *UserName );
|
||||
}
|
||||
#endif
|
||||
if (FPlatformFileManager::Get().GetPlatformFile().FileExists(*DevicePath) ||
|
||||
FPlatformFileManager::Get().GetPlatformFile().DirectoryExists(*DevicePath))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user