50 lines
1.5 KiB
JSON
50 lines
1.5 KiB
JSON
{
|
|
"homepage": "https://www.mesen.ca",
|
|
"description": "A high-accuracy SNES and Super GameBoy emulator",
|
|
"version": "0.4.0",
|
|
"license": "GPL-3.0-only",
|
|
"url": "https://github.com/SourMesen/Mesen-S/releases/download/0.4.0/Mesen-S.0.4.0.zip",
|
|
"hash": "ce4ee543dd3aaa4a10e8597d5aa4735fbe9252c8d679e5772dbee827cfaa2d96",
|
|
"bin": "Mesen-S.exe",
|
|
"shortcuts": [
|
|
[
|
|
"Mesen-S.exe",
|
|
"Mesen-S"
|
|
]
|
|
],
|
|
"persist": [
|
|
"Avi",
|
|
"Cheats",
|
|
"Firmware",
|
|
"Movies",
|
|
"RecentGames",
|
|
"Saves",
|
|
"SaveStates",
|
|
"Screenshots",
|
|
"Wave"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/SourMesen/Mesen-S/"
|
|
},
|
|
"autoupdate": {
|
|
"url": "https://github.com/SourMesen/Mesen-S/releases/download/$version/Mesen-S.$version.zip"
|
|
},
|
|
"post_install": [
|
|
"'settings.xml' | ForEach-Object {",
|
|
" if (!(Test-Path \"$persist_dir\\$_.bak\")) {",
|
|
" New-Item -ItemType File \"$dir\\$_\" | Out-Null",
|
|
" } else {",
|
|
" Copy-Item \"$persist_dir\\$_.bak\" \"$dir\\$_\" -Force",
|
|
" }",
|
|
"}"
|
|
],
|
|
"uninstaller": {
|
|
"script": [
|
|
"'settings.xml' | ForEach-Object {",
|
|
" Copy-Item \"$dir\\$_\" \"$persist_dir\\$_.bak\" -Force",
|
|
"}"
|
|
]
|
|
},
|
|
"notes": "Configuration files cannot be persisted, but will be retained during the update"
|
|
}
|