69 lines
2.4 KiB
JSON
69 lines
2.4 KiB
JSON
{
|
|
"homepage": "https://mgba.io/",
|
|
"description": "A fast, accurate, and portable GBA emulator (development version)",
|
|
"license": "MPL-2.0",
|
|
"version": "7227-20220127",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-2022-01-27-win64-7227-d071bffe0ad77f109ace9bbc86cb530d63fafdc6.7z",
|
|
"hash": "1a44b8513842063a2ee964f6b6df60bf54a7a172239cab72f9e36bb9ffd55054"
|
|
},
|
|
"32bit": {
|
|
"url": "https://s3.amazonaws.com/mgba/build/mGBA-build-2022-01-27-win32-7227-d071bffe0ad77f109ace9bbc86cb530d63fafdc6.7z",
|
|
"hash": "6f665feb8bd63d62c82f35cc696d1c70e4d0192b9f3de6781451d24356441871"
|
|
}
|
|
},
|
|
"installer": {
|
|
"script": [
|
|
"Move-Item -Path \"$(Get-ChildItem -Path $dir)\\*\" -Destination \"$dir\"",
|
|
"Set-Location -Path $dir",
|
|
"Remove-Item -Path $(Get-ChildItem -Path $dir -Name -Include mGBA-build*)",
|
|
"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 (Development)"
|
|
]
|
|
],
|
|
"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"
|
|
}
|
|
}
|
|
}
|
|
}
|