{
    "version": "2.7",
    "description": "Computer screen gamma adjuster based on the current time",
    "homepage": "https://github.com/Tyrrrz/LightBulb",
    "license": "MIT",
    "architecture": {
        "64bit": {
            "url": "https://github.com/Tyrrrz/LightBulb/releases/download/2.7/LightBulb.win-x64.zip",
            "hash": "60889e7b50754f438f9a819ba9e322fca4c254fd94c870446c2ea7bf259fcf5c"
        },
        "32bit": {
            "url": "https://github.com/Tyrrrz/LightBulb/releases/download/2.7/LightBulb.win-x86.zip",
            "hash": "018cb9f3bd932ef0695ddea5b1133252dc26d6f372bb349b74acdb6282f81bf4"
        },
        "arm64": {
            "url": "https://github.com/Tyrrrz/LightBulb/releases/download/2.7/LightBulb.win-arm64.zip",
            "hash": "5b319ac85a1233515ea05c409ee0036d992fdaf306cf715059579eaf4fc7de30"
        }
    },
    "pre_install": [
        "if (!(Test-Path \"$persist_dir\\Settings.json\")) {",
        "    if (Test-Path \"$persist_dir\\Configuration.dat\") { warn 'Configuration from version 1 is not compatile with version 2!' }",
        "    Set-Content \"$dir\\Settings.json\" -Value '{ \"IsAutoUpdateEnabled\": false }' -Encoding Ascii",
        "}"
    ],
    "bin": "LightBulb.exe",
    "shortcuts": [
        [
            "LightBulb.exe",
            "LightBulb"
        ]
    ],
    "persist": "Settings.json",
    "checkver": {
        "github": "https://api.github.com/repos/Tyrrrz/LightBulb/tags",
        "regex": "tags/([\\d.]+)"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/Tyrrrz/LightBulb/releases/download/$version/LightBulb.win-x64.zip"
            },
            "32bit": {
                "url": "https://github.com/Tyrrrz/LightBulb/releases/download/$version/LightBulb.win-x86.zip"
            },
            "arm64": {
                "url": "https://github.com/Tyrrrz/LightBulb/releases/download/$version/LightBulb.win-arm64.zip"
            }
        }
    }
}
