Skip to content

Commit 2651484

Browse files
author
Ravbug
committed
fix build errors in activation
1 parent 36d1cb1 commit 2651484

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/activation.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,11 @@ void PersonalActivationDlg::OnCreateHit(wxCommandEvent& evt)
5757
void DisplayLicenseOutput(){
5858
std::filesystem::path logfile
5959
#ifdef __APPLE__
60-
= std::filesystem::path(wxGetHomeDir()) / "Library/Logs/Unity/Editor.log";
60+
= std::filesystem::path(wxGetHomeDir().ToStdString()) / "Library/Logs/Unity/Editor.log";
6161
#elif defined _WIN32
6262
= std::filesystem::path(wxGetHomeDir().ToStdString()) / "AppData"/"Local"/"Unity"/"Editor"/"Editor.log";
6363
#else
64-
= std::filesystem::path(wxGetHomeDir()) / ".config/unity3d/Editor.log";
64+
= std::filesystem::path(wxGetHomeDir().ToStdString()) / ".config/unity3d/Editor.log";
6565
#endif
6666
ifstream in(logfile);
6767
std::string output;

0 commit comments

Comments
 (0)