scoop-games/bucket/cemu.json

67 lines
1.9 KiB
JSON

{
"homepage": "https://cemu.info/",
"version": "1.25.6",
"license": "Freeware",
"architecture": {
"64bit": {
"url": "https://cemu.info/releases/cemu_1.25.6.zip",
"hash": "46a7188e7b5b98ec608481ca3b9d9543dedd429ecf5e54ad30d19af26310412f"
}
},
"extract_dir": "cemu_1.25.6",
"shortcuts": [
[
"cemu.exe",
"Cemu"
]
],
"installer": {
"script": [
"'cemuhook.dll', 'keystone.dll' | ForEach-Object {",
" if (Test-Path \"$(versiondir 'cemuhook' 'current' $global)\\$_\") {",
" Copy-Item \"$(versiondir 'cemuhook' 'current' $global)\\$_\" \"$dir\"",
" }",
"}"
]
},
"persist": [
"controllerProfiles",
"gameProfiles",
"graphicPacks",
"mlc01",
"sharedFonts"
],
"suggest": {
"vcredist": "extras/vcredist2015",
"cemuhook": "cemuhook"
},
"checkver": {
"regex": "Download latest version \\(v((?<version>[\\d.]+)[\\w]*?),"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://cemu.info/releases/cemu_$matchVersion.zip"
}
},
"extract_dir": "cemu_$matchVersion"
},
"post_install": [
"'settings.xml' | ForEach-Object {",
" if (Test-Path \"$persist_dir\\$_.bak\") {",
" Copy-Item \"$persist_dir\\$_.bak\" \"$dir\\$_\" -Force",
" } else {",
" New-Item -ItemType File \"$dir\\$_\" | Out-Null",
" }",
"}"
],
"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"
}