{
    "version": "1.131.3",
    "description": "A community-led hyper-hackable text editor",
    "homepage": "https://pulsar-edit.dev",
    "license": "MIT",
    "architecture": {
        "64bit": {
            "url": "https://github.com/pulsar-edit/pulsar/releases/download/v1.131.3/Windows.Pulsar-1.131.3-win.zip",
            "hash": "714064c093d68c36ba694d6f2c83ea433a2db30835bcefaea18179456ae14115"
        }
    },
    "extract_to": "pulsar",
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\.pulsar\") -and (Test-Path \"$env:UserProfile\\.pulsar\")) {",
        "    info '[Portable Mode]: Migrating user data...'",
        "    Copy-Item \"$env:UserProfile\\.pulsar\" \"$persist_dir\\.pulsar\" -Recurse",
        "}",
        "ensure \"$persist_dir\\.pulsar\\electronUserData\" | Out-Null"
    ],
    "bin": [
        "pulsar\\resources\\pulsar.cmd",
        "pulsar\\resources\\app\\ppm\\bin\\ppm.cmd"
    ],
    "shortcuts": [
        [
            "pulsar\\Pulsar.exe",
            "Pulsar"
        ]
    ],
    "persist": ".pulsar",
    "checkver": {
        "github": "https://github.com/pulsar-edit/pulsar"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/pulsar-edit/pulsar/releases/download/v$version/Windows.Pulsar-$version-win.zip"
            }
        },
        "hash": {
            "url": "$baseurl/SHA256SUMS.txt"
        }
    }
}
