2021-07-11 13:57:27 -07:00
|
|
|
{
|
2022-03-10 08:29:48 -08:00
|
|
|
"version": "3.0.1-5664-2df3434",
|
2022-03-06 16:45:55 -08:00
|
|
|
"description": "Nintendo 64 emulator",
|
|
|
|
"homepage": "https://www.pj64-emu.com/",
|
2022-03-05 18:09:49 -08:00
|
|
|
"license": {
|
2022-03-19 15:54:04 -07:00
|
|
|
"identifier": "GPL-2.0",
|
|
|
|
"url": "https://github.com/project64/project64/blob/develop/license.md"
|
2022-03-05 18:09:49 -08:00
|
|
|
},
|
2022-03-07 16:42:21 -08:00
|
|
|
"url": "https://www.pj64-emu.com/file/project64-3-0-0-5632-f83bee9#/dl.zip",
|
|
|
|
"hash": "6e2d123a0d665576649c16dc0cb902d70f9a1072a5fbcd23a5ab4cf3854dd07f",
|
2022-03-06 16:45:55 -08:00
|
|
|
"shortcuts": [
|
|
|
|
[
|
|
|
|
"Project64.exe",
|
|
|
|
"Project64"
|
|
|
|
]
|
|
|
|
],
|
2021-07-11 13:57:27 -07:00
|
|
|
"persist": [
|
|
|
|
"Config",
|
|
|
|
"Logs",
|
|
|
|
"Save",
|
|
|
|
"Screenshots",
|
|
|
|
"Textures",
|
|
|
|
"Games",
|
|
|
|
"ROMs"
|
2022-03-05 13:34:10 -08:00
|
|
|
],
|
2022-03-06 16:45:55 -08:00
|
|
|
"checkver": {
|
|
|
|
"url": "https://www.pj64-emu.com/public-releases",
|
2022-03-07 16:42:21 -08:00
|
|
|
"regex": "(.+?) (?<url>.*)",
|
|
|
|
"script": [
|
|
|
|
"$ProgressPreference = 'SilentlyContinue'",
|
|
|
|
"$aregex = New-Object System.Text.RegularExpressions.Regex(\"<a href=`\"/`(?<url>[^`\"]*`)`\">Project64`\\s+`(?<version>v?[`\\d.]+`)`\\s+Zip</a>\")",
|
|
|
|
"$amatch = $aregex.Matches($page) | Select-Object -First 1",
|
|
|
|
"$burl = $json.homepage + $amatch.Groups['url'].Value",
|
|
|
|
"$bpage = (Invoke-WebRequest $burl).Content",
|
|
|
|
"$bregex = New-Object System.Text.RegularExpressions.Regex(\"/`(?<url>file/project64-[\\d-]+-[0-9a-f]+`)\")",
|
|
|
|
"$bmatch = $bregex.Matches($bpage) | Select-Object -First 1",
|
|
|
|
"$rurl = $bmatch.Groups['url'].Value",
|
|
|
|
"$curl = $json.homepage + $bmatch.Groups['url'].Value",
|
|
|
|
"$cpage = (Invoke-WebRequest -Method Head $curl).RawContent",
|
|
|
|
"$cregex = New-Object System.Text.RegularExpressions.Regex(\"filename=`\"Project64-(?<version>[\\d.]+-[\\d]+-[0-9a-f]+`)\")",
|
|
|
|
"$cmatch = $cregex.Matches($cpage) | Select-Object -First 1",
|
|
|
|
"$rversion = $cmatch.Groups['version'].Value",
|
|
|
|
"Write-Output $rversion $rurl",
|
|
|
|
"$ProgressPreference = 'Continue'"
|
|
|
|
]
|
2022-03-06 16:45:55 -08:00
|
|
|
},
|
|
|
|
"autoupdate": {
|
2022-03-07 16:42:21 -08:00
|
|
|
"url": "https://www.pj64-emu.com/$matchUrl#/dl.zip"
|
2022-03-06 16:45:55 -08:00
|
|
|
}
|
2021-07-11 13:57:27 -07:00
|
|
|
}
|