Skip to content

Commit

Permalink
fix: use raw strings for embedded files to fix paths on windows
Browse files Browse the repository at this point in the history
  • Loading branch information
ttytm committed Nov 11, 2023
1 parent 5b936c2 commit 9ac4c6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.v
Original file line number Diff line number Diff line change
Expand Up @@ -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 += ']'
Expand Down

0 comments on commit 9ac4c6e

Please sign in to comment.