From 9ac4c6e5d234f0a91145a2d0c18658f23ca023e4 Mon Sep 17 00:00:00 2001 From: Turiiya <34311583+ttytm@users.noreply.github.com> Date: Sat, 11 Nov 2023 03:28:33 +0100 Subject: [PATCH] fix: use raw strings for embedded files to fix paths on windows --- src/main.v | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.v b/src/main.v index 4a1962f..c4dc91c 100644 --- a/src/main.v +++ b/src/main.v @@ -91,7 +91,7 @@ fn run(cmd cli.Command) ! { res += '[\n' } for path in incl_paths { - res += "\t\$embed_file('${path}')\n" + res += "\t\$embed_file(r'${path}')\n" } if os.is_dir(s.scan_dirs[0]) { res += ']'