aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChidambaram Nachiappan <60850111+thechidambaram@users.noreply.github.com>2022-02-26 11:48:53 +0000
committerChidambaram Nachiappan <60850111+thechidambaram@users.noreply.github.com>2022-02-26 11:58:52 +0000
commit212cf85078d285fe09e69aad00d508131ffb3499 (patch)
tree2fce83cdd1774ca9222294352151df9c392b7190
parentc3d7e595f891922d22c02adbd09e4b0d80f1d882 (diff)
downloadlite-xl-colors-212cf85078d285fe09e69aad00d508131ffb3499.tar.gz
lite-xl-colors-212cf85078d285fe09e69aad00d508131ffb3499.zip
Place SVGs directly in previews folder
-rwxr-xr-xmake_preview_image.lua2
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')