{
    "##": "Check chromium.woolyss.com for different versions of Chromium releases.",
    "version": "147.0.7727.138-r1596535",
    "description": "Browser aiming for safer, faster, and more stable way for all users to experience the web.",
    "homepage": "https://www.chromium.org",
    "license": "BSD-3-Clause",
    "architecture": {
        "64bit": {
            "url": "https://github.com/Hibbiki/chromium-win64/releases/download/v147.0.7727.138-r1596535/chrome.7z",
            "hash": "sha1:3f4d17ba214933b977a126151b3d9f6f99719a16"
        }
    },
    "extract_dir": "Chrome-bin",
    "bin": [
        [
            "chrome.exe",
            "chromium",
            "--user-data-dir=\"$dir\\User Data\""
        ]
    ],
    "shortcuts": [
        [
            "chrome.exe",
            "Chromium",
            "--user-data-dir=\"$dir\\User Data\""
        ]
    ],
    "post_install": [
        "if (!(Test-Path \"$dir\\User Data\\*\") -and (Test-Path \"$env:LocalAppData\\Chromium\\User Data\")) {",
        "    info '[Portable Mode]: Copying user data...'",
        "    Copy-Item \"$env:LocalAppData\\Chromium\\User Data\\*\" \"$dir\\User Data\" -Recurse",
        "}"
    ],
    "env_set": {
        "CHROME_EXECUTABLE": "$dir\\chrome.exe"
    },
    "persist": "User Data",
    "checkver": {
        "github": "https://api.github.com/repos/Hibbiki/chromium-win64/tags",
        "jsonpath": "$..name",
        "regex": "v([\\d.\\-r]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/Hibbiki/chromium-win64/releases/download/v$version/chrome.7z",
                "hash": {
                    "url": "https://github.com/Hibbiki/chromium-win64/releases/tag/v$version",
                    "regex": "$sha1 \\.\\./out/x64/chrome.7z"
                }
            }
        }
    }
}
