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-07-24 17:30:48 -07:00
|
|
|
"version": "7072-20210724",
|
2019-12-09 05:32:57 -08:00
|
|
|
"architecture": {
|
|
|
|
"64bit": {
|
2021-07-24 17:30:48 -07:00
|
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-2021-07-24-win64-7072-9d3b4459ee329818432390775fbc0d62c3fca08d.7z",
|
|
|
|
"hash": "63152f914636b167e8d34613e39a24e5a4821f21498fa0dc3f282a3316469e57"
|
2019-12-09 05:32:57 -08:00
|
|
|
},
|
|
|
|
"32bit": {
|
2021-07-24 17:30:48 -07:00
|
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-2021-07-24-win32-7072-9d3b4459ee329818432390775fbc0d62c3fca08d.7z",
|
|
|
|
"hash": "e19ed1b34a9224888492c5e9c628f317b385d0f77439877f03479836c3e14819"
|
2019-12-09 05:32:57 -08:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"installer": {
|
|
|
|
"script": [
|
2021-07-14 17:54:52 -07:00
|
|
|
"Move-Item -Path \"$(Get-ChildItem -Path $dir)\\*\" -Destination \"$dir\"",
|
2021-07-16 12:52:45 -07:00
|
|
|
"Set-Location -Path $dir",
|
|
|
|
"Remove-Item -Path $(Get-ChildItem -Path $dir -Name -Include mGBA-build*)",
|
2019-12-09 05:32:57 -08:00
|
|
|
"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",
|
2021-07-14 17:54:52 -07:00
|
|
|
"mGBA (Development)"
|
2019-12-09 05:32:57 -08:00
|
|
|
]
|
|
|
|
],
|
|
|
|
"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
|
|
|
}
|