{
 "app_id": "io.github.Matteo842.SaveState",
 "source_url": "https://raw.githubusercontent.com/outcrop-labs/omapak/main/apps/io.github.Matteo842.SaveState/io.github.Matteo842.SaveState.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config:rw",
  "--filesystem=xdg-data:rw",
  "--filesystem=xdg-documents:rw",
  "--filesystem=~/.steam:rw",
  "--filesystem=~/.local/share/Steam:rw",
  "--filesystem=~/.var/app/com.valvesoftware.Steam:rw",
  "--filesystem=~/snap:ro"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T17:34:27.196624+00:00",
 "manifest": {
  "app-id": "io.github.Matteo842.SaveState",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "SaveState-wrapper",
  "finish-args": [
   "--share=network",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=xdg-config:rw",
   "--filesystem=xdg-data:rw",
   "--filesystem=xdg-documents:rw",
   "--filesystem=~/.steam:rw",
   "--filesystem=~/.local/share/Steam:rw",
   "--filesystem=~/.var/app/com.valvesoftware.Steam:rw",
   "--filesystem=~/snap:ro"
  ],
  "modules": [
   {
    "name": "savestate",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/bin /app/share/applications /app/share/icons/hicolor/256x256/apps /app/share/doc/savestate",
     "cp SaveState.AppImage /app/bin/SaveState-bin",
     "chmod +x /app/bin/SaveState-bin",
     "cp README.md LICENSE /app/share/doc/savestate/ || true",
     "cat <<EOF > /app/bin/SaveState-wrapper\n#!/bin/sh\nexec /app/bin/SaveState-bin --appimage-extract-and-run \"\\$@\"\nEOF\n",
     "chmod +x /app/bin/SaveState-wrapper",
     "cp io.github.Matteo842.SaveState.png /app/share/icons/hicolor/256x256/apps/",
     "cat <<EOF > /app/share/applications/io.github.Matteo842.SaveState.desktop\n[Desktop Entry]\nVersion=1.0\nType=Application\nName=SaveState\nComment=Save State Manager\nExec=SaveState-wrapper\nIcon=io.github.Matteo842.SaveState\nCategories=Utility;Game;\nTerminal=false\nEOF\n"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Matteo842/SaveState/releases/download/v2.1b/SaveState_linux.tar.gz",
      "sha256": "43755e51c5a19272ea8f10f6a6a013d70bef8b0919b44e38abd544b45803ec91",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/Matteo842/SaveState/releases/latest",
       "version-query": ".tag_name | sub(\"^v\"; \"\")",
       "url-query": "\"https://github.com/Matteo842/SaveState/releases/download/v\" + $version + \"/SaveState_v\" + $version + \"_Linux.tar.xz\"",
       "is-main-source": true
      }
     },
     {
      "type": "file",
      "path": "icon.png",
      "dest-filename": "io.github.Matteo842.SaveState.png"
     },
     {
      "type": "file",
      "path": "io.github.Matteo842.SaveState.metainfo.xml"
     }
    ]
   }
  ]
 }
}