{
    "version": "2026.1.0",
    "description": "Tracks user's head movements and relaying the information to games and flight simulation software.",
    "homepage": "https://github.com/opentrack/opentrack",
    "license": "ISC",
    "url": "https://github.com/opentrack/opentrack/releases/download/opentrack-2026.1.0/opentrack-2026.1.0-win32-portable.7z",
    "hash": "92ed738f863d5a46c0a4518bc81ceb71c778804cb66b2108eee34c9962d71813",
    "extract_dir": "install",
    "bin": "opentrack.exe",
    "shortcuts": [
        [
            "opentrack.exe",
            "Opentrack"
        ]
    ],
    "post_install": [
        "if (!(Test-Path \"$dir\\portable.txt\")) {",
        "    info '[Portable Mode] Adding Portable Mode File...'",
        "    New-Item \"$dir\\portable.txt\" -ItemType File | Out-Null",
        "}",
        "if (!(Test-Path \"$dir\\ini\\*\") -and ([Environment]::GetFolderPath(\"MyDocuments\")+\"\\opentrack-2.3\" | Test-Path)) {",
        "    info '[Portable Mode] Copying User Settings...'",
        "    [Environment]::GetFolderPath(\"MyDocuments\")+\"\\opentrack-2.3\\*\" | Copy-Item -Destination \"$dir\\ini\" -Recurse",
        "}"
    ],
    "persist": "ini",
    "checkver": {
        "github": "https://github.com/opentrack/opentrack",
        "regex": "tag/opentrack-([\\d.]+)"
    },
    "autoupdate": {
        "url": "https://github.com/opentrack/opentrack/releases/download/opentrack-$version/opentrack-$version-win32-portable.7z"
    }
}
