52 lines
1.6 KiB
JSON
52 lines
1.6 KiB
JSON
{
|
|
"homepage": "https://www.mesen.ca",
|
|
"description": "A high-accuracy NES and Famicom emulator and NSF player.",
|
|
"version": "0.9.9",
|
|
"license": "GPL-3.0",
|
|
"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",
|
|
"shortcuts": [
|
|
[
|
|
"Mesen.exe",
|
|
"Mesen"
|
|
]
|
|
],
|
|
"persist": [
|
|
"FdsBios.bin",
|
|
"Avi",
|
|
"GoogleDrive",
|
|
"HdPacks",
|
|
"Movies",
|
|
"RecentGames",
|
|
"SaveStates",
|
|
"Saves",
|
|
"Screenshots",
|
|
"Wave"
|
|
],
|
|
"checkver": {
|
|
"github": "https://github.com/SourMesen/Mesen/"
|
|
},
|
|
"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"
|
|
}
|