{
 "app_id": "com.github.d4nj1.tlpui",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.d4nj1.tlpui/master/com.github.d4nj1.tlpui.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--filesystem=host:ro",
  "--talk-name=org.freedesktop.Flatpak"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:07:30.260208+00:00",
 "manifest": {
  "app-id": "com.github.d4nj1.tlpui",
  "command": "tlpui",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "finish-args": [
   "--socket=wayland",
   "--talk-name=org.freedesktop.Flatpak",
   "--share=ipc",
   "--socket=fallback-x11",
   "--filesystem=host:ro"
  ],
  "modules": [
   "python3-poetry-core.yaml",
   "python3-pyyaml.yaml",
   {
    "name": "tlpui",
    "buildsystem": "simple",
    "build-commands": [
     "install -D host-exec-wrapper.sh /app/bin/host-exec-wrapper",
     "install -D tlpui/icons/themeable/hicolor/scalable/apps/tlpui.svg /app/share/icons/hicolor/scalable/apps/${FLATPAK_ID}.svg",
     "install -D tlpui/icons/themeable/hicolor/16x16/apps/tlpui.png /app/share/icons/hicolor/16x16/apps/${FLATPAK_ID}.png",
     "install -D tlpui/icons/themeable/hicolor/32x32/apps/tlpui.png /app/share/icons/hicolor/32x32/apps/${FLATPAK_ID}.png",
     "install -D tlpui/icons/themeable/hicolor/48x48/apps/tlpui.png /app/share/icons/hicolor/48x48/apps/${FLATPAK_ID}.png",
     "install -D tlpui/icons/themeable/hicolor/64x64/apps/tlpui.png /app/share/icons/hicolor/64x64/apps/${FLATPAK_ID}.png",
     "install -D tlpui/icons/themeable/hicolor/96x96/apps/tlpui.png /app/share/icons/hicolor/96x96/apps/${FLATPAK_ID}.png",
     "install -D tlpui/icons/themeable/hicolor/128x128/apps/tlpui.png /app/share/icons/hicolor/128x128/apps/${FLATPAK_ID}.png",
     "install -D tlpui/icons/themeable/hicolor/256x256/apps/tlpui.png /app/share/icons/hicolor/256x256/apps/${FLATPAK_ID}.png",
     "install -D ${FLATPAK_ID}.appdata.xml /app/share/metainfo/${FLATPAK_ID}.metainfo.xml",
     "desktop-file-edit --set-icon=${FLATPAK_ID} tlpui.desktop",
     "install -D tlpui.desktop /app/share/applications/${FLATPAK_ID}.desktop",
     "ln -s /app/bin/host-exec-wrapper /app/bin/tlp",
     "ln -s /app/bin/host-exec-wrapper /app/bin/tlp-stat",
     "ln -s /app/bin/host-exec-wrapper /app/bin/lsusb",
     "ln -s /app/bin/host-exec-wrapper /app/bin/lspci",
     "ln -s /app/bin/host-exec-wrapper /app/bin/pkexec",
     "ln -s /app/bin/host-exec-wrapper /app/bin/gksu",
     "ln -s /app/bin/host-exec-wrapper /app/bin/gksudo",
     "ln -s /app/bin/host-exec-wrapper /app/bin/kdesu",
     "ln -s /app/bin/host-exec-wrapper /app/bin/kdesudo",
     "pip3 install . --prefix=/app --no-index --no-deps --no-build-isolation"
    ],
    "sources": [
     {
      "type": "file",
      "path": "host-exec-wrapper.sh"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/d4nj1/TLPUI/tlpui-1.10.1/AppImage/com.github.d4nj1.tlpui.appdata.xml",
      "sha256": "bbfb2102f897480ad4fa5c8f53cba53e3f9e3963065947f978b0a1fb093afb09"
     },
     {
      "type": "file",
      "url": "https://raw.githubusercontent.com/d4nj1/TLPUI/tlpui-1.10.1/tlpui.desktop",
      "sha256": "cc944a6b19fc2e71a215ebda7541b97f28db715849c54fd648f805f004e1c687"
     },
     {
      "type": "archive",
      "url": "https://files.pythonhosted.org/packages/57/de/687534b89231f76a1094ed99747ae01ec6f3826f2cd8c7c3b60d0a2c4b52/tlp_ui-1.10.1.tar.gz",
      "sha256": "824eb9a378360829f9f31dd3792cf13bdc4444eff3a502a364e96e44c8d18938"
     }
    ]
   }
  ]
 }
}