{
 "app_id": "com.qq.weixin",
 "source_url": "https://gitlab.com/accessable-net/wechat-uos-flatpak/-/raw/master/com.qq.weixin.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "20.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--device=dri",
  "--socket=pulseaudio",
  "--share=network",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-18T08:32:29.680406+00:00",
 "manifest": {
  "app-id": "com.qq.weixin",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "20.08",
  "branch": "stable",
  "sdk": "org.freedesktop.Sdk",
  "command": "start-uos-wechat",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "20.08",
  "separate-locales": false,
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--device=dri",
   "--socket=pulseaudio",
   "--share=network",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "rename-icon": "wechat",
  "modules": [
   {
    "name": "BUNDLE",
    "buildsystem": "simple",
    "build-commands": [
     "bsdtar -xf com.qq.weixin_2.0.0-2_amd64.deb",
     "bsdtar -xf data.tar.xz",
     "mkdir -p ${FLATPAK_DEST}/wechat-uos ${FLATPAK_DEST}/share/icons/",
     "cp -at ${FLATPAK_DEST}/wechat-uos  opt/apps/com.qq.weixin/files/*",
     "cp -at ${FLATPAK_DEST}/share/icons/ opt${FLATPAK_DEST}s/com.qq.weixin/entries/icons/hicolor",
     "install -Dm644 -t /etc/ lsb-release os-release",
     "install -Dm755 -t ${FLATPAK_DEST}/share/applications/ com.qq.weixin.desktop",
     "install -Dm755 -t ${FLATPAK_DEST}/lib/license/ usr/lib/license/libuosdevicea.so",
     "install -Dm 755 start-uos-wechat.sh ${FLATPAK_DEST}/bin/start-uos-wechat"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://cdn-package-store6.deepin.com/appstore/pool/appstore/c/com.qq.weixin/com.qq.weixin_2.0.0-2_amd64.deb"
     },
     {
      "type": "file",
      "path": "lsb-release"
     },
     {
      "type": "file",
      "path": "os-release"
     },
     {
      "type": "file",
      "path": "com.qq.weixin.desktop"
     },
     {
      "type": "script",
      "dest-filename": "start-uos-wechat.sh",
      "commands": [
       "/app/wechat-uos/wechat"
      ]
     }
    ]
   },
   {
    "name": "gtk2",
    "cleanup": [
     "/bin",
     "/share/gtk-doc"
    ],
    "x-cpe": {
     "product": "gtk+"
    },
    "config-opts": [
     "--disable-dependency-tracking",
     "--disable-gtk-doc-html",
     "--disable-introspection",
     "--with-xinput=xfree"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gtk+/2.24/gtk+-2.24.32.tar.xz",
      "sha256": "b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e"
     }
    ]
   }
  ]
 }
}