Skip to content

Commit

Permalink
Cleaning up executable suffix code
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed Jul 1, 2024
1 parent ea2c595 commit 2d0d14f
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions Sources/Plasma/FeatureLib/pfPatcher/plManifests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -57,23 +57,22 @@ Mead, WA 99021
#else
# define PL_EXECUTABLE_SUFFIX ".exe"
#endif
#if HS_BUILD_FOR_APPLE
# define PL_EXECUTABLE_SUFFIX ".app"
#elif HS_BUILD_FOR_WIN32
# define PL_EXECUTABLE_SUFFIX ".exe"
#else
# define PL_EXECUTABLE_SUFFIX ""
#endif

plFileName plManifest::ClientExecutable()
{
#ifdef HS_BUILD_FOR_MACOS
return MANIFEST("plClient" PL_EXECUTABLE_SUFFIX, "UruExplorer" PL_EXECUTABLE_SUFFIX);
#else
return MANIFEST("plClient" PL_EXECUTABLE_SUFFIX, "UruExplorer" PL_EXECUTABLE_SUFFIX);
#endif
}

plFileName plManifest::PatcherExecutable()
{
#ifdef HS_BUILD_FOR_MACOS
return MANIFEST("plClient" PL_EXECUTABLE_SUFFIX, "UruExplorer" PL_EXECUTABLE_SUFFIX);
#else
return MANIFEST("plUruLauncher" PL_EXECUTABLE_SUFFIX, "UruLauncher" PL_EXECUTABLE_SUFFIX);
#endif
}

ST::string plManifest::ClientManifest()
Expand Down

0 comments on commit 2d0d14f

Please sign in to comment.