scoop-games/bucket/ares.json

57 lines
1.8 KiB
JSON

{
"version": "129",
"description": "Multi-system emulator focused on accuracy and preservation",
"homepage": "https://ares-emulator.github.io/",
"license": "ISC",
"notes": "Configuration file cannot be persisted, but will be retained during the update",
"architecture": {
"64bit": {
"url": "https://github.com/ares-emulator/ares/releases/download/v129/ares-windows.zip",
"hash": "6e8fec912d33bfadc08f41bab3a653c7c698e1e874fe0d935b247f995f7d565f"
}
},
"extract_dir": "ares-v129",
"post_install": [
"if (!(Test-Path \"$persist_dir\\settings.bml.bak\")) {",
" New-Item -ItemType File \"$dir\\settings.bml\" | Out-Null",
" Set-Content \"$dir\\settings.bml\" 'Paths'",
" Add-Content \"$dir\\settings.bml\" \" Home`:` $persist_dir\\Systems\\\" ",
" 'Saves', 'Screenshots', 'Debugging' | ForEach-Object {",
" Add-Content \"$dir\\settings.bml\" \" $_`:` $persist_dir\\$_\\\" }",
"} else {",
" Copy-Item \"$persist_dir\\settings.bml.bak\" \"$dir\\settings.bml\" -Force",
"}"
],
"bin": "ares.exe",
"shortcuts": [
[
"ares.exe",
"ares"
]
],
"persist": [
"Systems",
"Saves",
"Screenshots",
"Debugging"
],
"uninstaller": {
"script": [
"'settings.bml' | ForEach-Object {",
" Copy-Item \"$dir\\$_\" \"$persist_dir\\$_.bak\" -Force",
"}"
]
},
"checkver": {
"github": "https://github.com/ares-emulator/ares/"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://github.com/ares-emulator/ares/releases/download/v$cleanVersion/ares-windows.zip"
}
},
"extract_dir": "ares-v$cleanVersion"
}
}