{
 "app_id": "rocks.shy.VacuumTube",
 "source_url": "https://raw.githubusercontent.com/flathub/rocks.shy.VacuumTube/master/rocks.shy.VacuumTube.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=/run/udev:ro",
  "--talk-name=org.gnome.ScreenSaver",
  "--talk-name=org.mate.ScreenSaver",
  "--talk-name=org.cinnamon.ScreenSaver",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--talk-name=org.xfce.ScreenSaver",
  "--own-name=org.mpris.MediaPlayer2.chromium.*"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T16:17:20.151645+00:00",
 "manifest": {
  "app-id": "rocks.shy.VacuumTube",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.node22"
  ],
  "build-options": {
   "append-path": "/usr/lib/sdk/node22/bin"
  },
  "command": "startvacuumtube",
  "separate-locales": false,
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--share=network",
   "--device=all",
   "--env=XCURSOR_PATH=/run/host/user-share/icons:/run/host/share/icons",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--talk-name=org.gnome.ScreenSaver",
   "--talk-name=org.cinnamon.ScreenSaver",
   "--talk-name=org.mate.ScreenSaver",
   "--talk-name=org.xfce.ScreenSaver",
   "--own-name=org.mpris.MediaPlayer2.chromium.*",
   "--filesystem=/run/udev:ro"
  ],
  "modules": [
   {
    "name": "VacuumTube",
    "buildsystem": "simple",
    "subdir": "main",
    "build-options": {
     "env": {
      "XDG_CACHE_HOME": "/run/build/VacuumTube/flatpak-node/cache",
      "npm_config_cache": "/run/build/VacuumTube/flatpak-node/npm-cache",
      "npm_config_offline": "true"
     }
    },
    "build-commands": [
     "npm install --offline",
     "../flatpak-node/electron-builder-arch-args.sh",
     "npm run linux:build-unpacked -- $ELECTRON_BUILDER_ARCH_ARGS",
     "cp -a dist/linux*unpacked /app/bin/vacuumtube",
     "install -Dm755 ../startvacuumtube /app/bin/startvacuumtube",
     "install -Dm644 flatpak/rocks.shy.VacuumTube.metainfo.xml -t /app/share/metainfo/",
     "install -Dm644 flatpak/rocks.shy.VacuumTube.desktop -t /app/share/applications/",
     "install -Dm644 assets/icon.svg /app/share/icons/hicolor/scalable/apps/rocks.shy.VacuumTube.svg"
    ],
    "sources": [
     "flatpak-sources.json",
     {
      "type": "git",
      "url": "https://github.com/shy1132/VacuumTube.git",
      "commit": "4dd3ee402c29328c0c1fe19f428c899c5b2ded6d",
      "dest": "main"
     },
     {
      "type": "file",
      "path": "startvacuumtube"
     }
    ]
   }
  ]
 }
}