{
 "app_id": "io.github.ferraridamiano.ConverterNOW",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.ferraridamiano.ConverterNOW/master/io.github.ferraridamiano.ConverterNOW.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "26.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:11:04.748824+00:00",
 "manifest": {
  "app-id": "io.github.ferraridamiano.ConverterNOW",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "26.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "converternow",
  "separate-locales": false,
  "finish-args": [
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=network",
   "--share=ipc",
   "--device=dri"
  ],
  "cleanup": [
   "/git_repo",
   "/io.github.ferraridamiano.ConverterNOW.desktop"
  ],
  "modules": [
   {
    "name": "converternow",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p \"${FLATPAK_DEST}/ConverterNOW\"",
     "cp -r ConverterNOW/. \"${FLATPAK_DEST}/ConverterNOW/\"",
     "chmod +x \"${FLATPAK_DEST}/ConverterNOW/converternow\"",
     "mkdir -p \"${FLATPAK_DEST}/bin\"",
     "ln -s \"${FLATPAK_DEST}/ConverterNOW/converternow\" \"${FLATPAK_DEST}/bin/converternow\"",
     "mv git_repo/linux/${FLATPAK_ID}.desktop ${FLATPAK_ID}.desktop",
     "desktop-file-edit ${FLATPAK_ID}.desktop --set-icon=${FLATPAK_ID}",
     "install -Dm644 -t \"${FLATPAK_DEST}/share/applications/\" ${FLATPAK_ID}.desktop",
     "install -Dm644 git_repo/assets/app_icons/logo.svg \"${FLATPAK_DEST}/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg\"",
     "install -Dm644 git_repo/linux/${FLATPAK_ID}.metainfo.xml \"${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml\""
    ],
    "sources": [
     {
      "type": "archive",
      "only-arches": [
       "x86_64"
      ],
      "dest": "ConverterNOW",
      "url": "https://github.com/ferraridamiano/ConverterNOW/releases/download/v4.6.3/converternow-linux-x86_64.tar.gz",
      "sha256": "8f0b7b58d2317f2686dac7e7cf11d1fd482d1da3b5e1389f36e686a421dbee98",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/ferraridamiano/ConverterNOW/releases/latest",
       "tag-query": ".tag_name",
       "timestamp-query": ".published_at",
       "version-query": "$tag | sub(\"^[vV]\"; \"\")",
       "url-query": "\"https://github.com/ferraridamiano/ConverterNOW/releases/download/\\($tag)/converternow-linux-x86_64.tar.gz\""
      }
     },
     {
      "type": "archive",
      "only-arches": [
       "aarch64"
      ],
      "dest": "ConverterNOW",
      "url": "https://github.com/ferraridamiano/ConverterNOW/releases/download/v4.6.3/converternow-linux-aarch64.tar.gz",
      "sha256": "16099f8dc4f18b4c34b64bba202a8da80437516f535291f30e6f8b4c67df2b58",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/ferraridamiano/ConverterNOW/releases/latest",
       "tag-query": ".tag_name",
       "timestamp-query": ".published_at",
       "version-query": "$tag | sub(\"^[vV]\"; \"\")",
       "url-query": "\"https://github.com/ferraridamiano/ConverterNOW/releases/download/\\($tag)/converternow-linux-aarch64.tar.gz\""
      }
     },
     {
      "type": "git",
      "dest": "git_repo",
      "url": "https://github.com/ferraridamiano/ConverterNOW",
      "tag": "v4.6.3",
      "commit": "2f231b7c8142933d07285d1f2a8082b24157f80e",
      "x-checker-data": {
       "type": "git",
       "tag-pattern\"": "^v([0-9.]+)$"
      }
     }
    ]
   }
  ]
 }
}