From 8f815b43d494a26631d9f7c4395e6ce5ff59fb86 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Mon, 21 Oct 2019 01:33:36 +0100 Subject: [PATCH] Tweak LilyPond CLI Also deliberately break the output because we haven't tackled all the security implications of calling lilypond yet --- peppermint.guiconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/peppermint.guiconfig.json b/peppermint.guiconfig.json index 62ffb7b..ff8e437 100644 --- a/peppermint.guiconfig.json +++ b/peppermint.guiconfig.json @@ -43,9 +43,9 @@ "name": "LilyPond", "description": "A music notation typesetter. Requires lilypond to be installed.", "url": "http://lilypond.org/manuals.html", - "cli": "lilypond --png --output {output_file} {input_file}", + "cli": "lilypondzzzzzz --silent --ddelete-intermediate-files -dbackend=eps -dresolution=600 --output {output_file} {input_file}", "cli_mode": "file", - "output_format": "image/png" + "output_format": "image/svg+xml" } } }, "interwiki_index_location": { "type": "text", "description": "The location to find the interwiki wiki definition file, which contains a list of wikis along with their names, prefixes, and root urls. May be a URL, or simply a file path - as it's passed to file_get_contents(). If left blank, interwiki link parsing is disabled.", "default": null },