{
 "app_id": "io.github.Amethyst.ModManager",
 "source_url": "https://raw.githubusercontent.com/ChrisDKN/Amethyst-Mod-Manager/main/flatpak/io.github.Amethyst.ModManager.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--device=dri",
  "--share=ipc",
  "--filesystem=home",
  "--filesystem=/run/media",
  "--filesystem=/media",
  "--filesystem=/mnt",
  "--filesystem=/var/mnt",
  "--filesystem=~/.var/app/com.valvesoftware.Steam",
  "--filesystem=~/.var/app/com.heroicgameslauncher.hgl",
  "--filesystem=~/.var/app/net.lutris.Lutris",
  "--filesystem=~/.var/app/io.github.Faugus.faugus-launcher",
  "--filesystem=xdg-run/discord-ipc-0",
  "--filesystem=xdg-run/discord-ipc-1",
  "--filesystem=xdg-run/discord-ipc-2",
  "--filesystem=xdg-run/discord-ipc-3",
  "--filesystem=xdg-run/discord-ipc-4",
  "--filesystem=xdg-run/discord-ipc-5",
  "--filesystem=xdg-run/discord-ipc-6",
  "--filesystem=xdg-run/discord-ipc-7",
  "--filesystem=xdg-run/discord-ipc-8",
  "--filesystem=xdg-run/discord-ipc-9",
  "--filesystem=xdg-run/app/com.discordapp.Discord",
  "--filesystem=xdg-run/app/com.discordapp.DiscordCanary",
  "--filesystem=xdg-run/app/com.discordapp.DiscordPTB",
  "--filesystem=xdg-run/app/dev.vencord.Vesktop",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=org.freedesktop.Flatpak",
  "--allow=multiarch",
  "--env=MOD_MANAGER_GAMES=/app/share/amethyst-mod-manager/Games",
  "--env=XDG_DATA_DIRS=/app/share:/usr/share",
  "--env=QT_QPA_PLATFORM=xcb",
  "--env=_AMM_OWNS_QT_PLATFORM=1"
 ],
 "module_count": 7,
 "fetched_at": "2026-10-05T15:55:52.647844+00:00",
 "manifest": {
  "app-id": "io.github.Amethyst.ModManager",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "base": "io.qt.PySide.BaseApp",
  "base-version": "6.11",
  "add-extensions": {
   "org.freedesktop.Platform.Compat.i386": {
    "directory": "lib/i386-linux-gnu",
    "version": "25.08"
   },
   "org.freedesktop.Platform.GL32": {
    "directory": "lib/i386-linux-gnu/GL",
    "version": "1.4",
    "versions": "25.08;1.4",
    "subdirectories": true,
    "no-autodownload": false,
    "autodelete": false,
    "add-ld-path": "lib"
   }
  },
  "command": "amethyst-mod-manager",
  "build-options": {
   "env": {
    "BASEAPP_REMOVE_WEBENGINE": "true",
    "BASEAPP_DISABLE_NUMPY": "true"
   }
  },
  "finish-args": [
   "--share=network",
   "--socket=x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--device=dri",
   "--share=ipc",
   "--filesystem=home",
   "--filesystem=/run/media",
   "--filesystem=/media",
   "--filesystem=/mnt",
   "--filesystem=/var/mnt",
   "--filesystem=~/.var/app/com.valvesoftware.Steam",
   "--filesystem=~/.var/app/com.heroicgameslauncher.hgl",
   "--filesystem=~/.var/app/net.lutris.Lutris",
   "--filesystem=~/.var/app/io.github.Faugus.faugus-launcher",
   "--filesystem=xdg-run/discord-ipc-0",
   "--filesystem=xdg-run/discord-ipc-1",
   "--filesystem=xdg-run/discord-ipc-2",
   "--filesystem=xdg-run/discord-ipc-3",
   "--filesystem=xdg-run/discord-ipc-4",
   "--filesystem=xdg-run/discord-ipc-5",
   "--filesystem=xdg-run/discord-ipc-6",
   "--filesystem=xdg-run/discord-ipc-7",
   "--filesystem=xdg-run/discord-ipc-8",
   "--filesystem=xdg-run/discord-ipc-9",
   "--filesystem=xdg-run/app/com.discordapp.Discord",
   "--filesystem=xdg-run/app/com.discordapp.DiscordCanary",
   "--filesystem=xdg-run/app/com.discordapp.DiscordPTB",
   "--filesystem=xdg-run/app/dev.vencord.Vesktop",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.freedesktop.Flatpak",
   "--allow=multiarch",
   "--env=MOD_MANAGER_GAMES=/app/share/amethyst-mod-manager/Games",
   "--env=XDG_DATA_DIRS=/app/share:/usr/share",
   "--env=QT_QPA_PLATFORM=xcb",
   "--env=_AMM_OWNS_QT_PLATFORM=1"
  ],
  "tags": [
   "modmanager",
   "games",
   "modding"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh",
   "mkdir -p /app/lib/i386-linux-gnu/GL"
  ],
  "modules": [
   "pypi-dependencies.yaml",
   "maturin.yaml",
   {
    "name": "sevenzip",
    "buildsystem": "simple",
    "build-commands": [
     "make -C CPP/7zip/Bundles/Alone2 -f makefile.gcc",
     "install -Dm755 CPP/7zip/Bundles/Alone2/_o/7zz /app/bin/7zz"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ip7z/7zip/releases/download/25.01/7z2501-src.tar.xz",
      "mirror-urls": [
       "https://www.7-zip.org/a/7z2501-src.tar.xz"
      ],
      "sha256": "ed087f83ee789c1ea5f39c464c55a5c9d4008deb0efe900814f2df262b82c36e",
      "strip-components": 0
     }
    ]
   },
   {
    "name": "vgmstream",
    "buildsystem": "simple",
    "only-arches": [
     "x86_64"
    ],
    "build-commands": [
     "install -Dm755 vgmstream-cli /app/bin/vgmstream-cli",
     "install -Dm644 vgmstream-COPYING /app/share/licenses/vgmstream/COPYING"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/vgmstream/vgmstream/releases/download/r2117/vgmstream-linux.zip",
      "sha256": "2f98c77f756079f63fbd119939067f1ed461d77e70993bc4cc372736d859c84a"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/vgmstream/vgmstream/r2117/COPYING",
      "sha256": "fcc26d35c4c4365e31f21734f846e4ee362ff0b57ba696085605a7b4768d8763",
      "dest-filename": "vgmstream-COPYING"
     }
    ]
   },
   {
    "name": "cabextract",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "http://deb.debian.org/debian/pool/main/c/cabextract/cabextract_1.11.orig.tar.gz",
      "mirror-urls": [
       "https://www.cabextract.org.uk/cabextract-1.11.tar.gz"
      ],
      "sha256": "b5546db1155e4c718ff3d4b278573604f30dd64c3c5bfd4657cd089b823a3ac6"
     }
    ]
   },
   {
    "name": "libloot",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/libloot/cargo",
      "CARGO_NET_OFFLINE": "true"
     }
    },
    "subdir": "python",
    "build-commands": [
     "maturin build --offline --release",
     "unzip -q -o ../target/wheels/*",
     "install -Dm755 ./loot/* -t /app/lib/python*/site-packages",
     "pip uninstall -y maturin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/loot/libloot.git",
      "tag": "0.29.6",
      "commit": "136f3983c3eec7d377f83a7e7e0b0129aa5c8fe1"
     },
     "cargo-sources.json"
    ]
   },
   {
    "name": "amethyst-mod-manager",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "dir",
      "path": ".."
     }
    ]
   }
  ]
 }
}