{
 "app_id": "com.connorcode.mslicer",
 "source_url": "https://raw.githubusercontent.com/flathub/com.connorcode.mslicer/master/com.connorcode.mslicer.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=/run/spnav.sock",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-desktop",
  "--filesystem=xdg-download",
  "--filesystem=/media",
  "--filesystem=/run/media"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:07:07.898803+00:00",
 "manifest": {
  "$schema": "https://raw.githubusercontent.com/flatpak/flatpak-builder/main/data/flatpak-manifest.schema.json",
  "id": "com.connorcode.mslicer",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "command": "mslicer",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--filesystem=/run/spnav.sock",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-desktop",
   "--filesystem=/media",
   "--filesystem=/run/media"
  ],
  "modules": [
   {
    "name": "mslicer",
    "buildsystem": "simple",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/mslicer/cargo"
     }
    },
    "build-commands": [
     "cargo --offline fetch --manifest-path Cargo.toml",
     "cargo --offline build -r -p mslicer",
     "install -Dm 755 target/release/mslicer -t /app/bin",
     "install -Dm 644 dist/flatpak/com.connorcode.mslicer.desktop -t /app/share/applications",
     "install -Dm 644 dist/flatpak/com.connorcode.mslicer.metainfo.xml -t /app/share/metainfo",
     "install -Dm 644 dist/flatpak/com.connorcode.mslicer-mime.xml -t /app/share/mime/packages",
     "install -Dm 644 dist/icon.png /app/share/icons/hicolor/512x512/apps/com.connorcode.mslicer.png"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/connorslade/mslicer",
      "commit": "19abc4a6b7ff85f8fc8bb2bf2fd72c0fd8b02167"
     },
     "cargo-sources.json"
    ]
   }
  ]
 }
}