Removed case sensitivity from launcher files/names.

This commit is contained in:
Pieter Hulshoff 2020-05-23 17:10:55 +02:00
parent 3d69bd65a7
commit d4fe8972a1
3 changed files with 3 additions and 2 deletions

View File

@ -55,6 +55,7 @@ bool Launcher::run(std::string collection, Item *collectionItem)
launcherName = line;
}
}
launcherName = Utils::toLower(launcherName);
if(!launcherExecutable(executablePath, launcherName))
{

View File

@ -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));

View File

@ -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( )