{
    "version": "7.7.1.0",
    "description": "Biological sequence alignment editor.",
    "homepage": "https://thalljiscience.github.io/",
    "license": {
        "identifier": "Freeware",
        "url": "https://thalljiscience.github.io/LICENSE.TXT"
    },
    "notes": [
        "BioEdit is not being maintained anymore. We recommend installing 'ApE' for latest features and fixes.",
        "To install ApE, run: scoop install ape"
    ],
    "url": "https://thalljiscience.github.io/BioEditFullFolder.zip",
    "hash": "a1436374942bd6454859b38c22a784a76aacec983e76341954974dd13ee7259f",
    "pre_install": [
        "# See 'ReadSeqv202.zip' -> 'Instructions.txt' for details",
        "Expand-7zipArchive \"$dir\\ReadSeqv202.zip\" \"$dir\\apps\" | Out-Null",
        "if (!(Test-Path 'C:\\BioEdit')) {",
        "    if(!(is_admin)) { error \"$app requires admin rights to set junctions\"; break }",
        "    New-Item 'C:\\BioEdit' -Value \"$dir\" -ItemType Junction | Out-Null",
        "}"
    ],
    "pre_uninstall": [
        "if (($cmd -eq 'uninstall') -and (Test-Path 'C:\\BioEdit')) {",
        "    if(!(is_admin)) { error \"$app requires admin rights to remove junctions\"; break }",
        "    Remove-Item 'C:\\BioEdit' -Force -Recurse",
        "}"
    ],
    "shortcuts": [
        [
            "BioEdit.exe",
            "BioEdit"
        ]
    ],
    "persist": "bioedit.ini"
}
