scoop-games/bucket/cemu.json

69 lines
2.0 KiB
JSON

{
"homepage": "https://cemu.info/",
"description": "Experimental software to emulate Wii U applications on PC",
"version": "1.26.2f",
"license": "Freeware",
"architecture": {
"64bit": {
"url": "https://cemu.info/releases/cemu_1.26.2.zip",
"hash": "b0e3abf5048f78e352b42c3e1660a2c6e85d6905cd9f60d06ca2f2318fa3152c"
}
},
"extract_dir": "cemu_1.26.2",
"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",
"shaderCache\\transferable"
],
"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"
}