57 lines
1.8 KiB
JSON
57 lines
1.8 KiB
JSON
{
|
|
"homepage": "https://ares-emulator.github.io/",
|
|
"description": "Multi-system emulator focused on accuracy and preservation",
|
|
"version": "126",
|
|
"license": "ISC",
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ares-emulator/ares/releases/download/v126/ares-windows.zip",
|
|
"hash": "0c3573c55ce31e3d00633017f69730b1a34c2857d8beaccd95a326467291e300"
|
|
}
|
|
},
|
|
"extract_dir": "ares-v124",
|
|
"bin": "ares.exe",
|
|
"shortcuts": [
|
|
[
|
|
"ares.exe",
|
|
"ares"
|
|
]
|
|
],
|
|
"persist": [
|
|
"Systems",
|
|
"Saves",
|
|
"Screenshots",
|
|
"Debugging"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/ares-emulator/ares/"
|
|
},
|
|
"autoupdate": {
|
|
"architecture": {
|
|
"64bit": {
|
|
"url": "https://github.com/ares-emulator/ares/releases/download/v$version/ares-windows.zip",
|
|
"extract_dir": "ares-v$version"
|
|
}
|
|
}
|
|
},
|
|
"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",
|
|
"}"
|
|
],
|
|
"uninstaller": {
|
|
"script": [
|
|
"'settings.bml' | ForEach-Object {",
|
|
" Copy-Item \"$dir\\$_\" \"$persist_dir\\$_.bak\" -Force",
|
|
"}"
|
|
]
|
|
},
|
|
"notes": "Configuration file cannot be persisted, but will be retained during the update"
|
|
}
|