{
 "app_id": "com.github.oscartbeaumont.ElectronPlayer",
 "source_url": "https://raw.githubusercontent.com/Blooym/com.github.oscartbeaumont.ElectronPlayer/main/com.github.oscartbeaumont.ElectronPlayer.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "22.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--socket=x11",
  "--socket=fallback-x11",
  "--share=network",
  "--socket=pulseaudio",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-18T08:41:58.552571+00:00",
 "manifest": {
  "app-id": "com.github.oscartbeaumont.ElectronPlayer",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "22.08",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "22.08",
  "sdk": "org.freedesktop.Sdk",
  "build-options": {
   "no-debuginfo": true
  },
  "separate-locales": false,
  "finish-args": [
   "--socket=x11",
   "--socket=fallback-x11",
   "--share=network",
   "--socket=pulseaudio",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "command": "run.sh",
  "modules": [
   {
    "name": "electronplayer",
    "buildsystem": "simple",
    "build-commands": [
     "chmod +x ./electronplayer.AppImage",
     "./electronplayer.AppImage --appimage-extract",
     "mv ./squashfs-root/* /app/bin",
     "desktop-file-edit --set-key=Exec --set-value=\"run.sh\" /app/bin/electronplayer.desktop",
     "desktop-file-edit --set-key=Icon --set-value=\"com.github.oscartbeaumont.ElectronPlayer\" /app/bin/electronplayer.desktop",
     "desktop-file-edit --set-key=Name --set-value=\"ElectronPlayer\" /app/bin/electronplayer.desktop",
     "desktop-file-edit --set-key=StartupWMClass --set-value=\"com.github.oscartbeaumont.ElectronPlayer\" /app/bin/electronplayer.desktop",
     "desktop-file-edit --remove-key=X-AppImage-Version /app/bin/electronplayer.desktop",
     "install -Dm644 /app/bin/electronplayer.desktop /app/share/applications/com.github.oscartbeaumont.ElectronPlayer.desktop",
     "install -Dm644 icon_64_x_64.png /app/share/icons/hicolor/64x64/apps/com.github.oscartbeaumont.ElectronPlayer.png",
     "install -Dm644 icon_128_x_128.png /app/share/icons/hicolor/128x128/apps/com.github.oscartbeaumont.ElectronPlayer.png",
     "install -Dm644 icon_256_x_256.png /app/share/icons/hicolor/256x256/apps/com.github.oscartbeaumont.ElectronPlayer.png",
     "install -Dm644 icon_512_x_512.png /app/share/icons/hicolor/512x512/apps/com.github.oscartbeaumont.ElectronPlayer.png",
     "install -Dm644 com.github.oscartbeaumont.ElectronPlayer.metainfo.xml /app/share/metainfo/com.github.oscartbeaumont.ElectronPlayer.metainfo.xml",
     "install -d -m 755 /app/bin",
     "install -m 755 run.sh /app/bin/run.sh"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://github.com/oscartbeaumont/ElectronPlayer/releases/download/v2.0.8-rc4/electronplayer-2.0.8.AppImage",
      "sha256": "c00b2648575b44f9d89c3c964126edca3f862c92cdee26e4b1413b71e81f9212",
      "dest-filename": "electronplayer.AppImage"
     },
     {
      "type": "script",
      "dest-filename": "run.sh",
      "commands": [
       "zypak-wrapper.sh /app/bin/electronplayer \"$@\""
      ]
     },
     {
      "type": "file",
      "path": "icons/icon_64_x_64.png"
     },
     {
      "type": "file",
      "path": "icons/icon_128_x_128.png"
     },
     {
      "type": "file",
      "path": "icons/icon_256_x_256.png"
     },
     {
      "type": "file",
      "path": "icons/icon_512_x_512.png"
     },
     {
      "type": "file",
      "path": "com.github.oscartbeaumont.ElectronPlayer.metainfo.xml"
     }
    ]
   }
  ]
 }
}