mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-02-09 08:25:34 +01:00
Delaying %ITEM_COLLECTION_NAME% processing for launchers
This commit is contained in:
parent
fe101442f5
commit
8b39bca011
@ -130,10 +130,13 @@ bool Configuration::parseLine(std::string collection, std::string keyPrefix, std
|
|||||||
|
|
||||||
key = trimEnds(key);
|
key = trimEnds(key);
|
||||||
|
|
||||||
|
// only overwrite the collection name if we know it. We could be parsing a launcher configuration
|
||||||
value = line.substr(position + delimiter.length(), line.length());
|
if(collection != "")
|
||||||
value = trimEnds(value);
|
{
|
||||||
value = Utils::replace(value, "%ITEM_COLLECTION_NAME%", collection);
|
value = line.substr(position + delimiter.length(), line.length());
|
||||||
|
value = trimEnds(value);
|
||||||
|
value = Utils::replace(value, "%ITEM_COLLECTION_NAME%", collection);
|
||||||
|
}
|
||||||
|
|
||||||
properties_.insert(PropertiesPair(key, value));
|
properties_.insert(PropertiesPair(key, value));
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user