2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 17:04:55 +00:00

Other platforms for SteamFinder

This commit is contained in:
Jack Andersen
2017-07-23 13:44:17 -10:00
parent 14277fa386
commit f761810e8c
3 changed files with 23 additions and 1 deletions

View File

@@ -11,7 +11,7 @@ namespace hecl
{
/* Used to extract alternate steam install directories from libraryfolders.vdf */
static const std::regex regSteamPath("^\\s+\\\"[0-9]+\\\"\\s+\\\"(.*)\\\"",
static const std::regex regSteamPath(R"(^\s+\"[0-9]+\"\s+\"(.*)\")",
std::regex::ECMAScript|std::regex::optimize);
hecl::SystemString FindCommonSteamApp(const hecl::SystemChar* name)