{
    "version": "3.4.2",
    "description": "An easy-to-use, multi-track audio editor and recorder",
    "homepage": "https://www.audacityteam.org",
    "license": {
        "identifier": "GPL-2.0-or-later|GPL-3.0-only|CC-BY-3.0",
        "url": "https://github.com/audacity/audacity/blob/master/LICENSE.txt"
    },
    "architecture": {
        "64bit": {
            "url": "https://github.com/audacity/audacity/releases/download/Audacity-3.4.2/audacity-win-3.4.2-64bit.zip",
            "hash": "0df85eda8b79ebcceca673a7f7dec32c4fcb4625342b91995217f3124b57f7d4",
            "extract_dir": "audacity-win-3.4.2-64bit"
        },
        "32bit": {
            "url": "https://github.com/audacity/audacity/releases/download/Audacity-3.4.2/audacity-win-3.4.2-32bit.zip",
            "hash": "9b9fceae802e76f5c91b42074331094c1fb90b9f519bee196f40aeb1ee863ce5",
            "extract_dir": "audacity-win-3.4.2-32bit"
        }
    },
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\Portable Settings\\audacity.cfg\")) {",
        "    ensure \"$dir\\Portable Settings\" | Out-Null",
        "    Set-Content \"$dir\\Portable Settings\\audacity.cfg\" '[Update]', 'DefaultUpdatesChecking=0' -Encoding Ascii",
        "}"
    ],
    "bin": "Audacity.exe",
    "shortcuts": [
        [
            "Audacity.exe",
            "Audacity"
        ]
    ],
    "persist": "Portable Settings",
    "checkver": {
        "github": "https://github.com/audacity/audacity",
        "regex": "Audacity-([\\d.]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/audacity/audacity/releases/download/Audacity-$version/audacity-win-$version-64bit.zip",
                "extract_dir": "audacity-win-$version-64bit"
            },
            "32bit": {
                "url": "https://github.com/audacity/audacity/releases/download/Audacity-$version/audacity-win-$version-32bit.zip",
                "extract_dir": "audacity-win-$version-32bit"
            }
        },
        "hash": {
            "url": "$baseurl/CHECKSUMS.txt",
            "regex": "$basename.*?$sha256"
        }
    }
}
