{
    "version": "132.5",
    "description": "DBMS-independent, cross-platform SQL query tool",
    "homepage": "https://www.sql-workbench.eu/",
    "license": {
        "identifier": "Freeware",
        "url": "https://www.sql-workbench.eu/manual/license.html"
    },
    "url": "https://www.sql-workbench.eu/Workbench-Build132.5-with-optional-libs.zip",
    "hash": "sha1:082e820a2506b5ba09c5a3f20d11391d78f75627",
    "architecture": {
        "64bit": {
            "shortcuts": [
                [
                    "SQLWorkbench64.exe",
                    "SQL Workbench Dev"
                ]
            ]
        },
        "32bit": {
            "shortcuts": [
                [
                    "SQLWorkbench.exe",
                    "SQL Workbench Dev"
                ]
            ]
        }
    },
    "pre_install": [
        "@('sqlwbconsole64.ini', 'sqlwbconsole.ini', 'SQLWorkbench64.ini', 'SQLWorkbench.ini') | ForEach-Object {",
        "    if(!(Test-Path \"$persist_dir\\$_\")) { New-Item \"$dir\\$_\" -Type File | Out-Null }",
        "}"
    ],
    "post_install": "if((Test-Path \"$dir\\ext.original\")) { Copy-Item \"$dir\\ext.original\\*\" -Destination \"$persist_dir\\ext\" }",
    "bin": "sqlwbconsole.cmd",
    "persist": [
        "ext",
        "sqlwbconsole64.ini",
        "sqlwbconsole.ini",
        "SQLWorkbench64.ini",
        "SQLWorkbench.ini"
    ],
    "checkver": {
        "url": "https://www.sql-workbench.eu/dev-download.html",
        "regex": "Current dev-build: ([\\d.]+)"
    },
    "autoupdate": {
        "url": "https://www.sql-workbench.eu/Workbench-Build$version-with-optional-libs.zip",
        "hash": {
            "url": "$url.sha1",
            "regex": "^$sha1"
        }
    }
}
