{
    "version": "9.8.0",
    "description": "Powerful and easy to use e-book manager",
    "homepage": "https://calibre-ebook.com",
    "license": {
        "identifier": "GPL-3.0-only",
        "url": "https://github.com/kovidgoyal/calibre/blob/master/LICENSE"
    },
    "architecture": {
        "64bit": {
            "url": "https://download.calibre-ebook.com/9.8.0/calibre-portable-installer-9.8.0.exe",
            "hash": "sha512:f73d4c61769e0ef5dd7bdd8048364f0688de9eb2ffe3aa8315df4ca203a5bec057c87faae6846619c75a82442608d337227b796c85253e797bd42b11071f598d"
        }
    },
    "installer": {
        "script": [
            "Start-Process -FilePath \"$dir\\$fname\" -ArgumentList @($env:PUBLIC) -Wait",
            "Move-Item -Path \"$env:PUBLIC\\Calibre Portable\\*\" -Destination $dir -Force",
            "Remove-Item -Path \"$dir\\$fname\", \"$env:PUBLIC\\Calibre Portable\" -Recurse -Force -ErrorAction SilentlyContinue",
            "Icacls $dir /t /c /reset | Out-Null"
        ]
    },
    "bin": [
        [
            "calibre-portable.exe",
            "calibre"
        ],
        "calibre-portable.exe",
        "Calibre\\calibre-complete.exe",
        "Calibre\\calibre-customize.exe",
        "Calibre\\calibredb.exe",
        "Calibre\\calibre-debug.exe",
        "Calibre\\calibre-parallel.exe",
        "Calibre\\calibre-server.exe",
        "Calibre\\calibre-smtp.exe",
        "Calibre\\ebook-convert.exe",
        "Calibre\\ebook-device.exe",
        "Calibre\\ebook-edit.exe",
        "Calibre\\ebook-meta.exe",
        "Calibre\\ebook-polish.exe",
        "Calibre\\ebook-viewer.exe",
        "Calibre\\fetch-ebook-metadata.exe",
        "Calibre\\lrf2lrs.exe",
        "Calibre\\lrs2lrf.exe",
        "Calibre\\lrfviewer.exe",
        "Calibre\\markdown-calibre.exe",
        "Calibre\\web2disk.exe"
    ],
    "shortcuts": [
        [
            "calibre-portable.exe",
            "Calibre"
        ],
        [
            "Calibre\\ebook-edit.exe",
            "Calibre E-Book Editor"
        ],
        [
            "Calibre\\ebook-viewer.exe",
            "Calibre E-Book Viewer"
        ],
        [
            "Calibre\\lrfviewer.exe",
            "Calibre LRF Viewer"
        ]
    ],
    "persist": [
        "Calibre Library",
        "Calibre Settings"
    ],
    "checkver": {
        "github": "https://github.com/kovidgoyal/calibre"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://download.calibre-ebook.com/$version/calibre-portable-installer-$version.exe",
                "hash": {
                    "url": "https://calibre-ebook.com/signatures/$basename.sha512"
                }
            }
        }
    }
}
