2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Rename telegramdesktop.appdata.xml -> telegramdesktop.metainfo.xml

.appinfo.xml is legacy according to https://freedesktop.org/software/appstream/docs/chap-Metadata.html#spec-component-location
This commit is contained in:
Ilya Fedin
2021-12-05 23:06:36 +04:00
committed by John Preston
parent e708b2d39c
commit 6db537d1ec
4 changed files with 5 additions and 5 deletions

View File

@@ -62,7 +62,7 @@ def update_appdata(appdata_path, changelog, max_items=None):
def main():
ap = argparse.ArgumentParser("Parse Telegram changelog")
ap.add_argument("-c", "--changelog-path", default="changelog.txt")
ap.add_argument("-a", "--appdata-path", default="lib/xdg/telegramdesktop.appdata.xml")
ap.add_argument("-a", "--appdata-path", default="lib/xdg/telegramdesktop.metainfo.xml")
ap.add_argument("-n", "--num-releases", type=int, default=None)
args = ap.parse_args()
update_appdata(args.appdata_path,