79 lines
2.7 KiB
JSON
79 lines
2.7 KiB
JSON
{
|
|
"version": "0.9.3",
|
|
"description": "A fast, accurate, and portable GBA emulator",
|
|
"homepage": "https://mgba.io/",
|
|
"license": {
|
|
"identifier": "MPL-2.0",
|
|
"url": "https://github.com/mgba-emu/mgba/blob/master/LICENSE"
|
|
},
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/mgba-emu/mgba/releases/download/0.9.3/mGBA-0.9.3-win32.7z",
|
|
"hash": "54df53ba5bb463395da0b85db8692234259c2ab7210781d49426b78e5a259757",
|
|
"extract_dir": "mGBA-0.9.3-win32"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/mgba-emu/mgba/releases/download/0.9.3/mGBA-0.9.3-win64.7z",
|
|
"hash": "a84ba662a2808f2d47de6f00d437981359194b807447043860a33ce15b3f5468",
|
|
"extract_dir": "mGBA-0.9.3-win64"
|
|
}
|
|
},
|
|
"pre_install": [
|
|
"if (!(Test-Path \"$persist_dir\\qt.ini\")) {",
|
|
" New-Item \"$dir\\qt.ini\" -Type File | Out-Null",
|
|
"}",
|
|
"if (!(Test-Path \"$persist_dir\\config.ini\")) {",
|
|
" New-Item \"$dir\\config.ini\" -Type File | Out-Null",
|
|
" Set-Content \"$dir\\config.ini\" '[ports.qt]'",
|
|
" Add-Content \"$dir\\config.ini\" 'savestatePath=savestate'",
|
|
" Add-Content \"$dir\\config.ini\" 'patchPath=patch'",
|
|
" Add-Content \"$dir\\config.ini\" 'screenshotPath=screenshot'",
|
|
" Add-Content \"$dir\\config.ini\" 'cheatsPath=cheats'",
|
|
" Add-Content \"$dir\\config.ini\" 'savegamePath=savegame'",
|
|
" Add-Content \"$dir\\config.ini\" 'gba.bios=bios/gba_bios.bin'",
|
|
" Add-Content \"$dir\\config.ini\" 'gb.bios=bios/gb_bios.bin'",
|
|
" Add-Content \"$dir\\config.ini\" 'gbc.bios=bios/gbc_bios.bin'",
|
|
" Add-Content \"$dir\\config.ini\" 'sgb.bios=bios/sgb_bios.bin'",
|
|
"}"
|
|
],
|
|
"bin": [
|
|
[
|
|
"mGBA.exe",
|
|
"mgba-sdl.exe"
|
|
]
|
|
],
|
|
"shortcuts": [
|
|
[
|
|
"mGBA.exe",
|
|
"mGBA"
|
|
]
|
|
],
|
|
"persist": [
|
|
"bios",
|
|
"cheats",
|
|
"patch",
|
|
"savegame",
|
|
"savestate",
|
|
"screenshot",
|
|
"shaders",
|
|
"qt.ini",
|
|
"config.ini",
|
|
"portable.ini"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/mgba-emu/mgba"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"32bit": {
|
|
"url": "https://github.com/mgba-emu/mgba/releases/download/$version/mGBA-$version-win32.7z",
|
|
"extract_dir": "mGBA-$version-win32"
|
|
},
|
|
"64bit": {
|
|
"url": "https://github.com/mgba-emu/mgba/releases/download/$version/mGBA-$version-win64.7z",
|
|
"extract_dir": "mGBA-$version-win64"
|
|
}
|
|
}
|
|
}
|
|
}
|