mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-04-03 10:47:23 +02:00
Fix %ITEM_FILENAME% replacement for launcher.
This commit is contained in:
@@ -74,21 +74,21 @@ bool Launcher::run(std::string collection, Item *collectionItem)
|
||||
args = replaceVariables(args,
|
||||
selectedItemsPath,
|
||||
collectionItem->name,
|
||||
collectionItem->filename(),
|
||||
Utils::getFileName(selectedItemsPath),
|
||||
selectedItemsDirectory,
|
||||
collection);
|
||||
|
||||
executablePath = replaceVariables(executablePath,
|
||||
selectedItemsPath,
|
||||
collectionItem->name,
|
||||
collectionItem->filename(),
|
||||
Utils::getFileName(selectedItemsPath),
|
||||
selectedItemsDirectory,
|
||||
collection);
|
||||
|
||||
currentDirectory = replaceVariables(currentDirectory,
|
||||
selectedItemsPath,
|
||||
collectionItem->name,
|
||||
collectionItem->filename(),
|
||||
Utils::getFileName(selectedItemsPath),
|
||||
selectedItemsDirectory,
|
||||
collection);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user