Skip to content

Commit

Permalink
fix crash on macos > 4.25
Browse files Browse the repository at this point in the history
  • Loading branch information
hxhb committed Dec 15, 2021
1 parent 4925bfc commit f90c898
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ public HotPatcherEditor(ReadOnlyTargetRules Target) : base(Target)
PublicDefinitions.AddRange(new string[]
{
"ENABLE_UPDATER_CHECK=1",
"ENABLE_MULTI_COOKER=0",
"ENABLE_MULTI_COOKER=1",
"TOOL_NAME=\"HotPatcher\"",
"CURRENT_VERSION_ID=72",
"REMOTE_VERSION_FILE=\"https://imzlp.com/opensource/version.json\""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void SVersionUpdaterWidget::Construct(const FArguments& InArgs)
static bool GBrushInited = false;
if(!GBrushInited)
{
FVersionUpdaterStyle::Initialize(FString::Printf(TEXT("%s_UpdaterStyle"),TOOL_NAME));
FVersionUpdaterStyle::Initialize(FString::Printf(TEXT("%s_UpdaterStyle"),ANSI_TO_TCHAR(TOOL_NAME)));
FVersionUpdaterStyle::ReloadTextures();
GBrushInited = true;
}
Expand Down

0 comments on commit f90c898

Please sign in to comment.