From 027bf3ff497ead2ab69d1660e6928eea28530c64 Mon Sep 17 00:00:00 2001 From: Louie Shprung Date: Tue, 3 Sep 2024 17:30:16 -0400 Subject: Update default config --- docs/terminal-media-launcher-config.md | 4 ++-- man/terminal-media-launcher-config.5 | 4 ++-- src/unix/read_cfg.c | 2 +- src/windows/read_cfg.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/terminal-media-launcher-config.md b/docs/terminal-media-launcher-config.md index a5bf674..b1ecca3 100644 --- a/docs/terminal-media-launcher-config.md +++ b/docs/terminal-media-launcher-config.md @@ -122,7 +122,7 @@ local function addEntries(parentGroup, startDir, filePattern, recursive) if string.match(file, filePattern) then table.insert(parentGroup.Entries, { name = file, - path = fullFilePath + path = '"' .. fullFilePath .. '"' }) end end @@ -211,7 +211,7 @@ local function addEntries(parentGroup, startDir, filePattern, recursive) if string.match(file, filePattern) then table.insert(parentGroup.Entries, { name = file, - path = fullFilePath + path = '"' .. fullFilePath .. '"' }) end end diff --git a/man/terminal-media-launcher-config.5 b/man/terminal-media-launcher-config.5 index 0a818b9..d2a1b46 100644 --- a/man/terminal-media-launcher-config.5 +++ b/man/terminal-media-launcher-config.5 @@ -133,7 +133,7 @@ local function addEntries(parentGroup, startDir, filePattern, recursive) if string.match(file, filePattern) then table.insert(parentGroup.Entries, { name = file, - path = fullFilePath + path = '"' .. fullFilePath .. '"' }) end end @@ -197,7 +197,7 @@ local function addEntries(parentGroup, startDir, filePattern, recursive) if string.match(file, filePattern) then table.insert(parentGroup.Entries, { name = file, - path = fullFilePath + path = '"' .. fullFilePath .. '"' }) end end diff --git a/src/unix/read_cfg.c b/src/unix/read_cfg.c index 602c750..09944b1 100644 --- a/src/unix/read_cfg.c +++ b/src/unix/read_cfg.c @@ -122,7 +122,7 @@ void mkconfig_wizard(char *path){ " if string.match(file, filePattern) then\n" " table.insert(parentGroup.Entries, {\n" " name = file,\n" - " path = fullFilePath\n" + " path = '\"' .. fullFilePath .. '\"'\n" " })\n" " end\n" " end\n" diff --git a/src/windows/read_cfg.c b/src/windows/read_cfg.c index 79e56b7..47d50ae 100644 --- a/src/windows/read_cfg.c +++ b/src/windows/read_cfg.c @@ -125,7 +125,7 @@ void mkconfig_wizard(char *path){ " if string.match(file, filePattern) then\n" " table.insert(parentGroup.Entries, {\n" " name = file,\n" - " path = fullFilePath\n" + " path = '\"' .. fullFilePath .. '\"'\n" " })\n" " end\n" " end\n" -- cgit