67 lines
2.1 KiB
JSON
67 lines
2.1 KiB
JSON
{
|
|
"homepage": "https://mgba.io/",
|
|
"description": "A fast, accurate, and portable GBA emulator (development version)",
|
|
"license": "MPL-2.0",
|
|
"version": "0.7.3-6010",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://s3.amazonaws.com/mgba/mGBA-build-latest-win64.7z",
|
|
"hash": "df3c5c88f8b1bb574941b585ae4893067eb5324436536cf8546d28c018c2a121"
|
|
},
|
|
"32bit": {
|
|
"url": "https://s3.amazonaws.com/mgba/mGBA-build-latest-win32.7z",
|
|
"hash": "3a31527b9f73a8e035b9b6ff56d150e5797b66e6e4c0fa2b151bdd94843baa72"
|
|
}
|
|
},
|
|
"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",
|
|
"regex": "Release:\\s+<[^>]+>(?<version>[\\d.]+)</a>[\\s\\S]+Version:\\s+<[^>]+>(?<build>[\\d]+)-",
|
|
"replace": "${1}-${2}"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://s3.amazonaws.com/mgba/mGBA-build-latest-win64.7z"
|
|
},
|
|
"32bit": {
|
|
"url": "https://s3.amazonaws.com/mgba/mGBA-build-latest-win32.7z"
|
|
}
|
|
}
|
|
}
|
|
}
|