{ "version": "7.2.25.600", "description": "Foxmail like you've never seen it before.", "homepage": "https://www.foxmail.com/", "license": { "identifier": "Proprietary", "url": "https://www.foxmail.com/mac/en/terms_of_service" }, "url": "https://www.foxmail.com/win/download#/dl.7z", "hash": "1a37014196f69f3a08b9b053a4c17d4b3f9a01521173082d314d679c05ffd923", "pre_install": [ "$file = 'FMStorage.list'", "if (!(Test-Path \"$persist_dir\\$file\")) {", " Write-Host 'File' $file 'does not exist. Creating.' -f Yellow", " $CONT = @('')", " Set-Content \"$dir\\$file\" ($CONT -join \"`r`n\") -Encoding Ascii", "}" ], "post_install": "Remove-Item \"$dir\\`$PLUGINSDIR\" -Recurse", "shortcuts": [ [ "Foxmail.exe", "Foxmail" ] ], "persist": [ "Storage", "Global", "FMStorage.list" ], "checkver": { "script": [ "$url = 'https://www.foxmail.com/win/download'", "$request = [System.Net.HttpWebRequest]::Create($url)", "$response = $request.GetResponse()", "Write-Output $response.ResponseUri.AbsoluteUri" ], "regex": "FoxmailSetup_([\\d.]+)\\.exe" }, "autoupdate": { "url": "https://www.foxmail.com/win/download#/dl.7z" } }