Skip to content

Commit

Permalink
Fix MacOS compilation: missing TEXT("") macros around strings, and ex…
Browse files Browse the repository at this point in the history
…tra parenthesis

Fix #141
  • Loading branch information
SRombautsU committed Jun 17, 2024
1 parent 3aa3276 commit 0846368
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,13 +92,13 @@ static FString FindDesktopApplicationPath()
const TCHAR* GluonExe = TEXT("client/gluon.exe");
DesktopAppPath = FPaths::Combine(InstallLocation, FPlasticSourceControlModule::Get().GetProvider().IsPartialWorkspace() ? GluonExe : PlasticExe);
#elif PLATFORM_MAC
const TCHAR* PlasticExe = "/Applications/PlasticSCM.app/Contents/MacOS/macplasticx";
const TCHAR* GluonExe = "/Applications/Gluon.app/Contents/MacOS/macgluonx";
DesktopAppPath = FPlasticSourceControlModule::Get().GetProvider().IsPartialWorkspace() ? GluonExe : PlasticExe);
const TCHAR* PlasticExe = TEXT("/Applications/PlasticSCM.app/Contents/MacOS/macplasticx");
const TCHAR* GluonExe = TEXT("/Applications/Gluon.app/Contents/MacOS/macgluonx");
DesktopAppPath = FPlasticSourceControlModule::Get().GetProvider().IsPartialWorkspace() ? GluonExe : PlasticExe;
#elif PLATFORM_LINUX
const TCHAR* PlasticExe = "/usr/bin/plasticgui ";
const TCHAR* GluonExe = "/usr/bin/gluon";
DesktopAppPath = FPlasticSourceControlModule::Get().GetProvider().IsPartialWorkspace() ? GluonExe : PlasticExe);
const TCHAR* PlasticExe = TEXT("/usr/bin/plasticgui");
const TCHAR* GluonExe = TEXT("/usr/bin/gluon");
DesktopAppPath = FPlasticSourceControlModule::Get().GetProvider().IsPartialWorkspace() ? GluonExe : PlasticExe;
#endif

return DesktopAppPath;
Expand Down

0 comments on commit 0846368

Please sign in to comment.