From d4fe8972a142a449847b61c6db4b598ebe9cd9c1 Mon Sep 17 00:00:00 2001 From: Pieter Hulshoff Date: Sat, 23 May 2020 17:10:55 +0200 Subject: [PATCH] Removed case sensitivity from launcher files/names. --- RetroFE/Source/Execute/Launcher.cpp | 1 + RetroFE/Source/Main.cpp | 2 +- RetroFE/Source/Version.cpp | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/RetroFE/Source/Execute/Launcher.cpp b/RetroFE/Source/Execute/Launcher.cpp index 2176418..968be7a 100644 --- a/RetroFE/Source/Execute/Launcher.cpp +++ b/RetroFE/Source/Execute/Launcher.cpp @@ -55,6 +55,7 @@ bool Launcher::run(std::string collection, Item *collectionItem) launcherName = line; } } + launcherName = Utils::toLower(launcherName); if(!launcherExecutable(executablePath, launcherName)) { diff --git a/RetroFE/Source/Main.cpp b/RetroFE/Source/Main.cpp index d532977..4c66593 100644 --- a/RetroFE/Source/Main.cpp +++ b/RetroFE/Source/Main.cpp @@ -167,7 +167,7 @@ bool ImportConfiguration(Configuration *c) if(extension == ".conf") { - std::string prefix = "launchers." + basename; + std::string prefix = "launchers." + Utils::toLower(basename); std::string importFile = Utils::combinePath(launchersPath, std::string(dirp->d_name)); diff --git a/RetroFE/Source/Version.cpp b/RetroFE/Source/Version.cpp index 37f498a..39948e8 100644 --- a/RetroFE/Source/Version.cpp +++ b/RetroFE/Source/Version.cpp @@ -21,7 +21,7 @@ std::string retrofe_version_major = "0"; std::string retrofe_version_minor = "9"; -std::string retrofe_version_build = "40"; +std::string retrofe_version_build = "41"; std::string Version::getString( )