Pour tout problème contactez-nous par mail : support@froggit.fr | La FAQ :grey_question: | Rejoignez-nous sur le Chat :speech_balloon:

Skip to content
Snippets Groups Projects
Commit 88eb3ae7 authored by g4m4's avatar g4m4
Browse files

[UNREAL] Forbid blueprint retrieval of bug URL in Shipping builds

parent 86cb33a5
No related branches found
No related tags found
No related merge requests found
...@@ -85,6 +85,7 @@ FFixItPlatformData UFixItBlueprintLibrary::GetPlatformData() ...@@ -85,6 +85,7 @@ FFixItPlatformData UFixItBlueprintLibrary::GetPlatformData()
FString UFixItBlueprintLibrary::GetCreatedBugUrl(const FString& bugId) FString UFixItBlueprintLibrary::GetCreatedBugUrl(const FString& bugId)
{ {
#if PLATFORM_WINDOWS #if PLATFORM_WINDOWS
#if !UE_BUILD_SHIPPING
if (UFixItSubsystem* FixItSubsystem = GEngine->GetEngineSubsystem<UFixItSubsystem>()) if (UFixItSubsystem* FixItSubsystem = GEngine->GetEngineSubsystem<UFixItSubsystem>())
{ {
const FFixItBackend* backend = FixItSubsystem->GetBackend(); const FFixItBackend* backend = FixItSubsystem->GetBackend();
...@@ -93,7 +94,8 @@ FString UFixItBlueprintLibrary::GetCreatedBugUrl(const FString& bugId) ...@@ -93,7 +94,8 @@ FString UFixItBlueprintLibrary::GetCreatedBugUrl(const FString& bugId)
return backend->GetCreatedBugUrl(bugId); return backend->GetCreatedBugUrl(bugId);
} }
} }
#endif #endif // !UE_BUILD_SHIPPING
#endif // PLATFORM_WINDOWS
return TEXT(""); return TEXT("");
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment