Meta
Treatments group for manipulating the meta.xml file.
Last updated
Was this helpful?
Treatments group for manipulating the meta.xml file.
Last updated
Was this helpful?
These are the treatments currently provided by the "Meta" treatment group:
meta.remove_declaration
Removes the unicode declaration / first line of the meta.xml file. Used for fixing some broken meta.xmls. Adds a valid declaration instead.
meta.remove_comments
Removes comments. Helpful for when comments contain double-hyphens, which breaks xml parsing and violates the xml specification.
meta.set
["key", "value"]
Sets a key in the meta.xml to the given value. Can be used to override things like app name, author name and description.
meta.init
Solely intended for when a meta.xml is not provided by the author. Should not be used in place of "fixing" a broken file using other treatments. Creates a new meta.xml file, and pre-populates it with: - "name" as specified in the section. - "coder" as specified in the section. - "version" as specified in the section. - "short_description": "No description provided."