{
    "version": "1.27.1",
    "description": "Manage Podman and other container engines from a single UI and tray",
    "homepage": "https://github.com/containers/podman-desktop",
    "license": "Apache-2.0",
    "architecture": {
        "64bit": {
            "url": "https://github.com/containers/podman-desktop/releases/download/v1.27.1/podman-desktop-1.27.1.exe#/dl.7z",
            "hash": "ec8e2ed1e70f1a1da90d3070a492238bad3ea801f92449c01faebdf348a5447d",
            "pre_install": [
                "Expand-7zipArchive \"$dir\\`$PLUGINSDIR\\app-64.7z\" \"$dir\"",
                "Remove-Item \"$dir\\`$*\", \"$dir\\Uninstall*\" -Force -Recurse"
            ],
            "post_install": [
                "if ((Test-Path \"$Env:UserProfile\\.local\\share\\containers\\podman-desktop\\*\") -and !(Test-Path \"$dir\\config\\*\")) {",
                "    info '[Persist Data]: Moving data from default data directory to scoop persist directory . . .'",
                "    Move-Item \"$Env:UserProfile\\.local\\share\\containers\\podman-desktop\\*\" \"$dir\\config\" -ErrorAction Ignore",
                "}"
            ],
            "env_set": {
                "PODMAN_DESKTOP_HOME_DIR": "$dir\\config"
            },
            "shortcuts": [
                [
                    "Podman Desktop.exe",
                    "Podman Desktop"
                ]
            ]
        }
    },
    "persist": "config",
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/containers/podman-desktop/releases/download/v$version/podman-desktop-$version.exe#/dl.7z"
            }
        }
    }
}
