{
    "version": "30.0.2",
    "description": "Video recording and live streaming software",
    "homepage": "https://obsproject.com",
    "license": "GPL-2.0-only",
    "notes": [
        "Add Virtual Camera module by running: \"$dir\\data\\obs-plugins\\win-dshow\\virtualcam-install.bat\"",
        "Remove it by running: \"$dir\\data\\obs-plugins\\win-dshow\\virtualcam-uninstall.bat\""
    ],
    "architecture": {
        "64bit": {
            "url": "https://cdn-fastly.obsproject.com/downloads/OBS-Studio-30.0.2.zip",
            "hash": "960c98edcafeb07a34086cda1791fb8993c8000606b2e4c5171cadcdeb0e6672",
            "shortcuts": [
                [
                    "bin\\64bit\\obs64.exe",
                    "OBS Studio"
                ]
            ]
        }
    },
    "pre_install": "if (!(Test-Path \"$persist_dir\\portable_mode.txt\")) { New-Item \"$dir\\portable_mode.txt\" | Out-Null }",
    "persist": [
        "config",
        "portable_mode.txt",
        "obs-plugins"
    ],
    "post_install": [
        "if (!(Test-Path \"$dir\\obs-plugins.original\")) { return }",
        "Copy-Item \"$dir\\obs-plugins.original\\*\" \"$dir\\obs-plugins\" -Recurse -Force",
        "Remove-Item \"$dir\\obs-plugins.original\" -Recurse -Force"
    ],
    "checkver": {
        "url": "https://obsproject.com/download",
        "regex": "OBS-Studio-([\\d.]+)(-Full)?\\.zip"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://cdn-fastly.obsproject.com/downloads/OBS-Studio-$version.zip"
            }
        }
    }
}
