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 f82cf31
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions Sources/Plasma/FeatureLib/pfPatcher/plManifests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,17 @@ Mead, WA 99021
# define MANIFEST(in, ex) in
#endif // PLASMA_EXTERNAL_RELEASE

#if HS_BUILD_FOR_MACOS
#if HS_BUILD_FOR_APPLE
# define PL_EXECUTABLE_SUFFIX ".app"
#else
#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()
Expand Down

0 comments on commit f82cf31

Please sign in to comment.