You've already forked UnrealEngineUWP
mirror of
https://github.com/izzy2lost/UnrealEngineUWP.git
synced 2026-03-26 18:15:20 -07:00
Merging //UE4/Dev-Main@5808119 to Dev-Rendering (//UE4/Dev-Rendering)
#rnx #rb none [CL 5809094 by Rolando Caloca in Dev-Rendering 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