gluon-alfred: use gzip

This commit is contained in:
Nils Schneider 2014-06-10 19:20:55 +02:00
parent bc54f80dfd
commit d3d22a17d1

View File

@ -40,5 +40,5 @@ end
encoder = json.Encoder(collect_dir(announce_dir)) encoder = json.Encoder(collect_dir(announce_dir))
alfred = io.popen('alfred -s ' .. tostring(alfred_data_type), 'w') alfred = io.popen('gzip | alfred -s ' .. tostring(alfred_data_type), 'w')
ltn12.pump.all(encoder:source(), ltn12.sink.file(alfred)) ltn12.pump.all(encoder:source(), ltn12.sink.file(alfred))