67 lines
2.3 KiB
JSON
67 lines
2.3 KiB
JSON
{
|
|
"homepage": "https://mgba.io/",
|
|
"description": "A fast, accurate, and portable GBA emulator (development version)",
|
|
"license": "MPL-2.0",
|
|
"version": "6916-20210403",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-2021-04-03-win64-6916-af212925e7a57e27ef3e417919c7d537ee4119ca.7z",
|
|
"hash": "046731647eaa920fed5c92138b752520d7932fdaebe9d2e31f821cdf0adb00be"
|
|
},
|
|
"32bit": {
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-2021-04-03-win32-6916-af212925e7a57e27ef3e417919c7d537ee4119ca.7z",
|
|
"hash": "cb6331aae04e15ae3254fa2c2ef1b12c269b0df1d27b8f7913700ee4443f1c6b"
|
|
}
|
|
},
|
|
"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"
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|