diff options
author | Chidambaram Nachiappan <60850111+thechidambaram@users.noreply.github.com> | 2022-02-26 11:48:53 +0000 |
---|---|---|
committer | Chidambaram Nachiappan <60850111+thechidambaram@users.noreply.github.com> | 2022-02-26 11:58:52 +0000 |
commit | 212cf85078d285fe09e69aad00d508131ffb3499 (patch) | |
tree | 2fce83cdd1774ca9222294352151df9c392b7190 | |
parent | c3d7e595f891922d22c02adbd09e4b0d80f1d882 (diff) | |
download | lite-xl-colors-212cf85078d285fe09e69aad00d508131ffb3499.tar.gz lite-xl-colors-212cf85078d285fe09e69aad00d508131ffb3499.zip |
Place SVGs directly in previews folder
-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') |