{
    "version": "1.0.4.5",
    "description": "Utility that will monitor and clear the memory standby list when it is > 1000mb (1gb).",
    "homepage": "https://www.wagnardsoft.com/intelligent-standby-list-cleaner",
    "license": "Unknown",
    "url": "https://www.wagnardsoft.com/ISLC/ISLC%20v1.0.4.5.exe#/dl.7z",
    "hash": "9e76a5ca0e2760c266382381e0dca69386ae59321fcc83452baa13d104c854ef",
    "extract_dir": "ISLC v1.0.4.5",
    "shortcuts": [
        [
            "Intelligent standby list cleaner ISLC.exe",
            "Intelligent Standby List Cleaner (ISLC)"
        ]
    ],
    "pre_install": [
        "if (-not (Test-Path \"$persist_dir\\config.json\")) {",
        "    $cfg = [ordered]@{ 'StandbyListValue' = '1024'; 'FreeMemoryValue' = '1024'; 'StartMinimized' = $false; 'AlwaysOnTop' = $false; 'TaskScheduler' = $false; 'CustomTimer' = $false; 'WantedResolution' = 1.0; 'PollingRateSTR' = '1000'; 'ExclusionList' = @(); }",
        "    Set-Content -Path \"$dir\\config.json\" -Value $(ConvertTo-Json -InputObject $cfg) -Encoding Ascii | Out-Null",
        "}"
    ],
    "persist": "config.json",
    "checkver": {
        "regex": "Intelligent standby list cleaner \\(ISLC\\) (?:[vV])?([\\d\\.]+)</a>"
    },
    "autoupdate": {
        "url": "https://www.wagnardsoft.com/ISLC/ISLC%20v$version.exe#/dl.7z",
        "hash": {
            "url": "https://www.wagnardsoft.com/content/Download-Intelligent-standby-list-cleaner-ISLC-$cleanVersion",
            "regex": "SHA-256:\\s+$sha256"
        },
        "extract_dir": "ISLC v$version"
    }
}
