mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-05-04 11:53:37 +02:00
Fixed Windows expansion of %RETROFE_EXEC_PATH%.
This commit is contained in:
@@ -119,7 +119,7 @@ std::string Launcher::replaceVariables(std::string str,
|
|||||||
str = Utils::replace(str, "%ITEM_COLLECTION_NAME%", itemCollectionName);
|
str = Utils::replace(str, "%ITEM_COLLECTION_NAME%", itemCollectionName);
|
||||||
str = Utils::replace(str, "%RETROFE_PATH%", Configuration::absolutePath);
|
str = Utils::replace(str, "%RETROFE_PATH%", Configuration::absolutePath);
|
||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
str = Utils::replace(str, "%RETROFE_EXEC_PATH%", Utils::combinePath(Configuration::absolutePath, "RetroFE.exe"));
|
str = Utils::replace(str, "%RETROFE_EXEC_PATH%", Utils::combinePath(Configuration::absolutePath, "core", "RetroFE.exe"));
|
||||||
#else
|
#else
|
||||||
str = Utils::replace(str, "%RETROFE_EXEC_PATH%", Utils::combinePath(Configuration::absolutePath, "RetroFE"));
|
str = Utils::replace(str, "%RETROFE_EXEC_PATH%", Utils::combinePath(Configuration::absolutePath, "RetroFE"));
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user