{
    "version": "1.16.2",
    "description": "Automatic screenshots at fixed time intervals",
    "homepage": "https://github.com/artem78/AutoScreenshot",
    "license": "GPL-3.0-only",
    "architecture": {
        "64bit": {
            "url": "https://github.com/artem78/AutoScreenshot/releases/download/v1.16.2/AutoScreenshot_v1.16.2_Windows_portable.zip",
            "hash": "83ebaa47471819f3f72ec969b0de976067bfd7042eb91797ecf904bc9883d602",
            "extract_dir": "AutoScreenshot_v1.16.2"
        }
    },
    "pre_install": [
        "if (Test-Path -PathType Container \"$persist_dir\\config.ini\") { Remove-Item \"$persist_dir\\config.ini\" } # removes folder config.ini if exists",
        "if (!(Test-Path \"$persist_dir\\config.ini\")) { New-Item \"$dir\\config.ini\" | Out-Null } # creates config file config.ini if doesn't exist"
    ],
    "shortcuts": [
        [
            "AutoScreenshot.exe",
            "AutoScreenshot"
        ]
    ],
    "persist": "config.ini",
    "checkver": "github",
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://github.com/artem78/AutoScreenshot/releases/download/v$version/AutoScreenshot_v$version_Windows_portable.zip",
                "extract_dir": "AutoScreenshot_v$version"
            }
        }
    }
}
