{
 "app_id": "com.github.marktext.marktext",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.marktext.marktext/master/com.github.marktext.marktext.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=/tmp",
  "--filesystem=xdg-run/keyring",
  "--filesystem=host",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.secrets"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:07:45.304584+00:00",
 "manifest": {
  "app-id": "com.github.marktext.marktext",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "marktext",
  "rename-appdata-file": "marktext.appdata.xml",
  "rename-desktop-file": "marktext.desktop",
  "rename-icon": "marktext",
  "separate-locales": false,
  "finish-args": [
   "--socket=x11",
   "--socket=wayland",
   "--share=ipc",
   "--share=network",
   "--filesystem=host",
   "--filesystem=/tmp",
   "--device=dri",
   "--talk-name=com.canonical.AppMenu.Registrar",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.freedesktop.secrets",
   "--filesystem=xdg-run/keyring"
  ],
  "modules": [
   {
    "name": "marktext",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 marktext.desktop -t /app/share/applications/",
     "install -Dm644 marktext.appdata.xml -t /app/share/metainfo/",
     "install -Dm644 marktext.png -t /app/share/icons/hicolor/512x512/apps/",
     "mkdir -p /app/marktext",
     "mv marktext_binary/* /app/marktext",
     "cp marktext.sh /app/bin/marktext",
     "chmod +x /app/bin/marktext"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/marktext/marktext/releases/download/v0.19.0/marktext-linux-0.19.0.tar.gz",
      "sha256": "f34d7ae956ab36dc0e85889ac24297b226a50c048c345dfd1ac6450c6eb946ce",
      "dest": "marktext_binary",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 241810,
       "stable-only": true,
       "url-template": "https://github.com/marktext/marktext/releases/download/v0.19.0/marktext-linux-$version.tar.gz"
      }
     },
     {
      "type": "file",
      "path": "marktext.sh"
     },
     {
      "type": "file",
      "path": "marktext.desktop"
     },
     {
      "type": "file",
      "path": "marktext.appdata.xml"
     },
     {
      "type": "file",
      "path": "marktext.png"
     }
    ]
   }
  ]
 }
}