2019-12-09 05:32:57 -08:00
|
|
|
{
|
|
|
|
"homepage": "https://mgba.io/",
|
|
|
|
"description": "A fast, accurate, and portable GBA emulator (development version)",
|
|
|
|
"license": "MPL-2.0",
|
2021-05-23 17:30:21 -07:00
|
|
|
"version": "7008-20210523",
|
2019-12-09 05:32:57 -08:00
|
|
|
"architecture": {
|
|
|
|
"64bit": {
|
2021-05-23 17:30:21 -07:00
|
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-2021-05-23-win64-7008-3159f2ec5657df3652618b3478dcc83adfd81c3e.7z",
|
|
|
|
"hash": "78691bab91a04a7d09fcca6170eff818e4ad540502b7957d2cd01f52fc09409d"
|
2019-12-09 05:32:57 -08:00
|
|
|
},
|
|
|
|
"32bit": {
|
2021-05-23 17:30:21 -07:00
|
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-2021-05-23-win32-7008-3159f2ec5657df3652618b3478dcc83adfd81c3e.7z",
|
|
|
|
"hash": "1fa69c8d68910d1b2adadfc03b124a175e9afa3f68469b06692f5871b3f110b4"
|
2019-12-09 05:32:57 -08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"installer": {
|
|
|
|
"script": [
|
|
|
|
"Copy-item -Path \"$dir\\$(Get-ChildItem -Path $dir)\\*\" -Destination \"$dir\" -Recurse",
|
|
|
|
"if (!(Test-Path \"$persist_dir\\qt.ini\")) {",
|
|
|
|
" New-Item \"$dir\\qt.ini\" -ItemType \"file\" | Out-Null ",
|
|
|
|
"}",
|
|
|
|
"if (!(Test-Path \"$persist_dir\\config.ini\")) {",
|
|
|
|
" Set-Content \"$dir\\config.ini\" '[ports.qt]'",
|
|
|
|
" 'cheats', 'patch', 'savegame', 'savestate', 'screenshot' | ForEach-Object {",
|
|
|
|
" Add-Content -Path \"$dir\\config.ini\" -Value $_`Path`=$persist_dir\\$_ }",
|
|
|
|
"}"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
"bin": [
|
|
|
|
[
|
|
|
|
"mGBA.exe",
|
|
|
|
"mgba-sdl.exe"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"shortcuts": [
|
|
|
|
[
|
|
|
|
"mGBA.exe",
|
|
|
|
"mGBA"
|
|
|
|
]
|
|
|
|
],
|
|
|
|
"persist": [
|
|
|
|
"cheats",
|
|
|
|
"patch",
|
|
|
|
"savegame",
|
|
|
|
"savestate",
|
|
|
|
"screenshot",
|
|
|
|
"shaders",
|
|
|
|
"qt.ini",
|
|
|
|
"config.ini"
|
2021-02-21 14:52:41 -08:00
|
|
|
],
|
|
|
|
"checkver": {
|
|
|
|
"url": "https://mgba.io/builds/1/",
|
|
|
|
"regex": "build-(?<year>20\\d{2})-(?<month>\\d{2})-(?<day>\\d{2})-win32-(?<ver>[\\d]+)-(?<git>\\w{40})\\.7z",
|
|
|
|
"replace": "$4-$1$2$3"
|
|
|
|
},
|
|
|
|
"autoupdate": {
|
|
|
|
"architecture": {
|
|
|
|
"64bit": {
|
|
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-$matchYear-$matchMonth-$matchDay-win64-$matchVer-$matchGit.7z"
|
|
|
|
},
|
|
|
|
"32bit": {
|
|
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-$matchYear-$matchMonth-$matchDay-win32-$matchVer-$matchGit.7z"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2019-12-09 05:32:57 -08:00
|
|
|
}
|