{
    "version": "1.61.0-beta0",
    "description": "The hackable text editor (beta version)",
    "homepage": "https://atom.io/",
    "license": "MIT",
    "architecture": {
        "64bit": {
            "url": "https://github.com/atom/atom/releases/download/v1.61.0-beta0/atom-beta-x64-1.61.0-beta0-full.nupkg",
            "hash": "sha1:4e21bb826a6c892e1ddf0cf7827a6730c4f3960d"
        },
        "32bit": {
            "url": "https://github.com/atom/atom/releases/download/v1.61.0-beta0/atom-beta-1.61.0-beta0-full.nupkg",
            "hash": "sha1:2637791a2c19a915b15432052814a2dd19b07d9c"
        }
    },
    "extract_dir": "lib\\net45",
    "extract_to": "AtomPortable",
    "bin": [
        "AtomPortable\\resources\\cli\\atom.cmd",
        "AtomPortable\\resources\\app\\apm\\bin\\apm.cmd"
    ],
    "shortcuts": [
        [
            "AtomPortable\\atom-beta.exe",
            "Atom Beta"
        ]
    ],
    "persist": ".atom",
    "post_install": [
        "if (!(Test-Path \"$dir\\.atom\\*\") -and (Test-Path \"$env:UserProfile\\.atom\")) {",
        "    info '[Portable Mode]: Copying user data...'",
        "    Copy-Item \"$env:UserProfile\\.atom\\*\" \"$dir\\.atom\" -Recurse",
        "}",
        "if (!(Test-Path \"$dir\\.atom\\electronUserData\")) {",
        "    New-Item -Type Directory \"$dir\\.atom\\electronUserData\" | Out-Null",
        "}"
    ],
    "checkver": {
        "github": "https://api.github.com/repos/atom/atom/releases",
        "regex": "/releases/tag/(?:v)?([\\d.]+(-beta\\d+)?)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/atom/atom/releases/download/v$version/atom-beta-x64-$version-full.nupkg",
                "hash": {
                    "url": "$baseurl/RELEASES-x64",
                    "regex": "$sha1\\s*atom-beta-$version-full.nupkg"
                }
            },
            "32bit": {
                "url": "https://github.com/atom/atom/releases/download/v$version/atom-beta-$version-full.nupkg",
                "hash": {
                    "url": "$baseurl/RELEASES"
                }
            }
        }
    }
}
