{
    "version": "0.44.0.1",
    "description": "BrowserOS is an open-source chromium fork that runs AI agents natively. Your open-source, privacy-first alternative to ChatGPT Atlas, Perplexity Comet, Dia.",
    "homepage": "https://github.com/browseros-ai/BrowserOS",
    "license": "AGPL-3.0-only,BSD-3-Clause",
    "architecture": {
        "64bit": {
            "url": "https://github.com/browseros-ai/BrowserOS/releases/download/v0.44.0.1/BrowserOS_v0.44.0.1_x64_installer.exe#/dl.7z",
            "hash": "dda9acbb40d40ab11680b2c7dc87d3baca189b6add92475b9634db4c137a1b7c"
        }
    },
    "installer": {
        "script": "Expand-7zipArchive -Path \"$dir\\chrome.7z\" -DestinationPath $dir -ExtractDir 'Chrome-bin' -Removal"
    },
    "post_install": [
        "if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$env:LocalAppData\\BrowserOS\\BrowserOS\\User Data\")) {",
        "    info '[Portable Mode]: Copying user data...'",
        "    Copy-Item \"$env:LocalAppData\\BrowserOS\\BrowserOS\\User Data\\*\" \"$dir\\User Data\" -Recurse",
        "}"
    ],
    "env_set": {
        "CHROME_EXECUTABLE": "$dir\\chrome.exe"
    },
    "shortcuts": [
        [
            "chrome.exe",
            "BrowserOS",
            "--user-data-dir=\"$dir\\User Data\""
        ]
    ],
    "persist": "User Data",
    "checkver": {
        "github": "https://api.github.com/repos/browseros-ai/BrowserOS/releases/latest",
        "regex": "download/(?<tag>[^/]+)/BrowserOS_v(?<version>[\\d.]+)_x64_installer\\.exe"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/browseros-ai/BrowserOS/releases/download/$matchTag/BrowserOS_v$version_x64_installer.exe#/dl.7z"
            }
        }
    }
}
