Skip to content

Commit

Permalink
Games are now stored in ~/.local/share/desura.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jookia committed Apr 9, 2012
1 parent ac6764c commit 5b39da3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/shared/usercore/code/User.cpp
Expand Up @@ -375,7 +375,11 @@ void User::onNeedWildCardCB(WCSpecialInfo& info)
#endif
else if (Safe::stricmp("APPLICATION", info.name.c_str()) == 0)
{
#ifdef NIX
info.result = gcString("{0}/desura", getenv("XDG_DATA_HOME"));
#else
info.result = gcString(UTIL::OS::getCurrentDir(DIR_WCOMMON));
#endif
info.handled = true;
}
}
Expand Down

0 comments on commit 5b39da3

Please sign in to comment.