{
    "version": "2.7.1",
    "description": "Fully featured and highly configurable SFTP server with optional HTTP, FTP/S and WebDAV support",
    "homepage": "https://github.com/drakkan/sftpgo",
    "license": "AGPL-3.0-only",
    "notes": "Register SFTPGo as Windows Service by running: \"sftpgo service install\" as Administrator",
    "url": "https://github.com/drakkan/sftpgo/releases/download/v2.7.1/sftpgo_v2.7.1_windows_portable.zip",
    "hash": "3c19c6a90c2ed9aab1d628eb930efbdbc2ac49a054009e12c90db1100360fbf3",
    "pre_install": [
        "if ($architecture -eq '32bit') {",
        "   Move-Item \"$dir\\x86\\sftpgo.exe\" \"$dir\\\" -Force",
        "} elseif ($architecture -eq 'arm64') {",
        "   Move-Item \"$dir\\arm64\\sftpgo.exe\" \"$dir\\\" -Force",
        "}",
        "Remove-Item \"$dir\\arm64\", \"$dir\\x86\" -Recurse -Force"
    ],
    "bin": "sftpgo.exe",
    "persist": [
        "sftpgo.db",
        "sftpgo.json"
    ],
    "checkver": {
        "github": "https://github.com/drakkan/sftpgo"
    },
    "autoupdate": {
        "url": "https://github.com/drakkan/sftpgo/releases/download/v$version/sftpgo_v$version_windows_portable.zip"
    }
}
