scoop-games/bucket/mesen.json

52 lines
1.6 KiB
JSON
Raw Normal View History

2019-12-25 18:33:37 -08:00
{
"homepage": "https://www.mesen.ca",
"description": "A high-accuracy NES and Famicom emulator and NSF player.",
2020-02-01 16:01:04 -08:00
"version": "0.9.9",
2019-12-25 18:33:37 -08:00
"license": "GPL-3.0",
2020-02-01 16:01:04 -08:00
"url": "https://github.com/SourMesen/Mesen/releases/download/0.9.9/Mesen.0.9.9.zip",
"hash": "91bd2b1ba007c9349864a96e490dbdaada78033d51e0be1aabbf442a4b9a7cda",
"pre_install": "if(!(Test-Path(\"$persist_dir\\FdsBios.bin\"))) { New-Item \"$dir\\FdsBios.bin\" | Out-Null }",
"bin": "Mesen.exe",
2019-12-25 18:33:37 -08:00
"shortcuts": [
[
"Mesen.exe",
"Mesen"
]
],
"persist": [
"FdsBios.bin",
"Avi",
"GoogleDrive",
"HdPacks",
"Movies",
2019-12-25 18:33:37 -08:00
"RecentGames",
"SaveStates",
"Saves",
2019-12-25 18:33:37 -08:00
"Screenshots",
"Wave"
2019-12-25 18:33:37 -08:00
],
"checkver": {
"github": "https://github.com/SourMesen/Mesen/"
2019-12-25 18:33:37 -08:00
},
"autoupdate": {
"url": "https://github.com/SourMesen/Mesen/releases/download/$version/Mesen.$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"
2019-12-25 18:33:37 -08:00
}