From 027bf3ff497ead2ab69d1660e6928eea28530c64 Mon Sep 17 00:00:00 2001
From: Louie Shprung <lshprung@tutanota.com>
Date: Tue, 3 Sep 2024 17:30:16 -0400
Subject: Update default config

---
 src/unix/read_cfg.c    | 2 +-
 src/windows/read_cfg.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

(limited to 'src')

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