{
    "version": "9.0.15",
    "description": "Seafile desktop syncing client",
    "homepage": "https://www.seafile.com/",
    "license": "Apache-2.0",
    "url": "https://download.seadrive.org/seafile-9.0.15-en.msi",
    "hash": "3edaad6533354ba00023f1babf4536b009b2c697ed4aa79bd3cd43776536b7cd",
    "extract_dir": "PFiles\\Seafile\\bin",
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\ccnetconfdir\\seafile.ini\")) {",
        "    ensure \"$dir\\ccnetconfdir\" | Out-Null",
        "    Set-Content \"$dir\\ccnetconfdir\\seafile.ini\" \"$persist_dir\\data\" -Encoding Ascii",
        "}"
    ],
    "env_set": {
        "CCNET_CONF_DIR": "$dir\\ccnetconfdir"
    },
    "shortcuts": [
        [
            "seafile-applet.exe",
            "Seafile Desktop Syncing Client"
        ]
    ],
    "persist": [
        "data",
        "ccnetconfdir"
    ],
    "checkver": {
        "url": "https://www.seafile.com/en/download/",
        "regex": "seafile-([\\d.]+)-en\\.msi"
    },
    "autoupdate": {
        "url": "https://download.seadrive.org/seafile-$version-en.msi"
    }
}
