{
    "version": "1.234.3.0",
    "description": "A cross-platform, open-source text editor written in Object Pascal, available free of charge for both personal and commercial use, featuring fast startup and extensibility through Python-based add-ons.",
    "homepage": "https://cudatext.github.io",
    "license": {
        "identifier": "MPL-2.0",
        "url": "https://github.com/Alexey-T/CudaText/blob/HEAD/LICENSE"
    },
    "architecture": {
        "64bit": {
            "url": "https://sourceforge.net/projects/cudatext/files/release/1.234.3.0/cudatext-windows-amd64-1.234.3.0.zip",
            "hash": "sha1:20cdcce6d9eaa95bda4bba64769fce1f7d4e80cb"
        },
        "32bit": {
            "url": "https://sourceforge.net/projects/cudatext/files/release/1.234.3.0/cudatext-windows-i386-1.234.3.0.zip",
            "hash": "sha1:b6a1b47c044b609054d6dee020f00d871945b0a7"
        }
    },
    "extract_dir": "cudatext",
    "post_install": [
        "'py', 'data' | ForEach-Object {",
        "    if (Test-Path -Path \"$dir\\$_.original\" -PathType Container) {",
        "        Copy-Item -Path \"$dir\\$_.original\\*\" -Destination \"$dir\\$_\" -Force -Recurse",
        "        Remove-Item -Path \"$dir\\$_.original\" -Recurse -Force -ErrorAction SilentlyContinue",
        "    }",
        "}"
    ],
    "bin": "cudatext.exe",
    "shortcuts": [
        [
            "cudatext.exe",
            "CudaText"
        ]
    ],
    "persist": [
        "py",
        "data",
        "settings"
    ],
    "checkver": {
        "sourceforge": "cudatext/release"
    },
    "autoupdate": {
        "architecture": {
            "64bit": {
                "url": "https://sourceforge.net/projects/cudatext/files/release/$version/cudatext-windows-amd64-$version.zip"
            },
            "32bit": {
                "url": "https://sourceforge.net/projects/cudatext/files/release/$version/cudatext-windows-i386-$version.zip"
            }
        }
    }
}
