scoop-games/bucket/cemu.json

67 lines
1.9 KiB
JSON

{
"homepage": "https://cemu.info/",
"version": "1.26.1",
"license": "Freeware",
"architecture": {
"64bit": {
"url": "https://cemu.info/releases/cemu_1.26.1.zip",
"hash": "990a5b9746c9a8453b58bd2cda509c3b122a36a9552e6c0a57d597d68efe9197"
}
},
"extract_dir": "cemu_1.26.1",
"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"
}