diff options
-rwxr-xr-x | make_preview_image.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/make_preview_image.lua b/make_preview_image.lua index 5addb18..6bcaac8 100755 --- a/make_preview_image.lua +++ b/make_preview_image.lua @@ -35,7 +35,7 @@ end --generate svg file local w = 200 local h = 16 -local fp = io.open(name .. ".svg", "wb") +local fp = io.open("previews/" .. name .. ".svg", "wb") fp:write('<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="'..w..'" height="'..h..'" shape-rendering="crispEdges"> \n') |