mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2025-12-12 09:48:51 +01:00
Fixed Windows expansion of %RETROFE_EXEC_PATH%.
This commit is contained in:
parent
df35355744
commit
9967c8063f
@ -119,7 +119,7 @@ std::string Launcher::replaceVariables(std::string str,
|
||||
str = Utils::replace(str, "%ITEM_COLLECTION_NAME%", itemCollectionName);
|
||||
str = Utils::replace(str, "%RETROFE_PATH%", Configuration::absolutePath);
|
||||
#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
|
||||
str = Utils::replace(str, "%RETROFE_EXEC_PATH%", Utils::combinePath(Configuration::absolutePath, "RetroFE"));
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user