Skip to content

Commit

Permalink
Adding executable suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
colincornaby committed Jul 1, 2024
1 parent b0ef218 commit ab6d0b4
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions Sources/Plasma/FeatureLib/pfPatcher/plManifests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,21 +52,27 @@ Mead, WA 99021
# define MANIFEST(in, ex) in
#endif // PLASMA_EXTERNAL_RELEASE

#if HS_BUILD_FOR_MACOS
# define PL_EXECUTABLE_SUFFIX ".app"
#else
# define PL_EXECUTABLE_SUFFIX ".exe"
#endif

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

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

Expand Down

0 comments on commit ab6d0b4

Please sign in to comment.