Skip to content

Commit 829e59b

Browse files
committed
use single quote around keymap name
Signed-off-by: Vincent-FK <vincent.buso@funkey-project.com>
1 parent 67e0f34 commit 829e59b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

RetroFE/Source/Execute/Launcher.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,10 +122,10 @@ bool Launcher::run(std::string collection, Item *collectionItem)
122122

123123
/* Create shell cmd */
124124
std::string cmd = SHELL_CMD_MAPPING_ROM;
125-
cmd += " \"" + selectedItemsPath + "\"";
125+
cmd += " '" + selectedItemsPath + "'";
126126

127127
/* Log shell cmd */
128-
Logger::write(Logger::ZONE_INFO, "Launcher", "Applying keymap rom: " + selectedItemsPath);
128+
Logger::write(Logger::ZONE_INFO, "Launcher", "Applying keymap rom: \"" + selectedItemsPath + "\"");
129129
printf("Applying keymap rom cmd: \"%s\"\n", cmd.c_str());
130130

131131
/* Launch shell cmd */

0 commit comments

Comments
 (0)