Commit 1932f402 authored by Jonathan Riddell's avatar Jonathan Riddell 🛶

right directory, make json pretty

parent 20b0b60d
......@@ -29,7 +29,7 @@ Twiddles the following dirs:
## appstream_mkindex.rb
Iters `../appdata/` and generates an `../appdata/index.json` mapping category
Iters `../appdata/` and generates an `../index.json` mapping category
names to appids. The icons for the categories are generated by appstream.rb
and in `../icons/categories/` as downcased version of the name.
......
......@@ -43,4 +43,4 @@ index.values.each(&:sort!)
# Old-ish structure
# Hash of categories and their apps as array inside
File.write("../index.json", JSON.generate(index))
File.write("../index.json", JSON.pretty_generate(index))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment