Skip to content

Commit

Permalink
macOS|importsave|Tools: Fixed path for looking up savegametool
Browse files Browse the repository at this point in the history
IssueID #2243
  • Loading branch information
skyjake committed Apr 7, 2017
1 parent 826ce6a commit 8b0f6e4
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions doomsday/apps/plugins/importsave/src/importsave.cpp
Expand Up @@ -32,16 +32,11 @@ using namespace de;

static NativePath findSavegameTool()
{
#ifdef MACOSX
return App::executablePath().fileNamePath() / "../Resources/savegametool";
/// @todo fixme: Need to try alternate locations?
#elif WIN32
#ifdef WIN32
return App::executablePath().fileNamePath() / "savegametool.exe";
#else // UNIX
#else
return App::executablePath().fileNamePath() / "savegametool";
/// @todo fixme: Need to try alternate locations?
#endif

}

int SavegameConvertHook(int /*hook_type*/, int /*parm*/, void *data)
Expand Down

0 comments on commit 8b0f6e4

Please sign in to comment.