Files
UnrealEngineUWP/Engine/Source/Programs/UnrealPak/Private/UnrealPak.cpp
Chris Gagnon 00f8b72a0b Merging //UE4/Dev-Main to Dev-Editor (//UE4/Dev-Editor)
#rb none

[CL 5602170 by Chris Gagnon in Dev-Editor branch]
2019-03-27 15:03:08 -04:00

29 lines
649 B
C++

// Copyright 1998-2019 Epic Games, Inc. All Rights Reserved.
#include "UnrealPak.h"
#include "RequiredProgramMainCPPInclude.h"
#include "PakFileUtilities.h"
#include "IPlatformFilePak.h"
IMPLEMENT_APPLICATION(UnrealPak, "UnrealPak");
INT32_MAIN_INT32_ARGC_TCHAR_ARGV()
{
// start up the main loop
GEngineLoop.PreInit(ArgC, ArgV);
double StartTime = FPlatformTime::Seconds();
int32 Result = ExecuteUnrealPak(FCommandLine::Get())? 0 : 1;
UE_LOG(LogPakFile, Display, TEXT("Unreal pak executed in %f seconds"), FPlatformTime::Seconds() - StartTime );
GLog->Flush();
FEngineLoop::AppPreExit();
FEngineLoop::AppExit();
return Result;
}